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)
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>

No differences found