]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform/ts5500: Use the DEVICE_ATTR_RO() macro
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 8 Jul 2014 22:57:47 +0000 (18:57 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 16 Jul 2014 19:17:40 +0000 (21:17 +0200)
commit66a78865519461d1203f10e35d9699c9cefad6ce
tree3972d0cd4f87c8fe937ea86ac9b677f9dbc9d4d6
parent55c81957587c624c3b752b33e0ecc9ff12cebe14
x86/platform/ts5500: Use the DEVICE_ATTR_RO() macro

Use the DEVICE_ATTR_RO() helper macro to simplify the declaration
of read-only sysfs attributes in the TS5500 code..

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Savoir-faire Linux Inc. <kernel@savoirfairelinux.com>
Link: http://lkml.kernel.org/r/1404860269-11837-2-git-send-email-vivien.didelot@savoirfairelinux.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/ts5500/ts5500.c