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)
commit1d2408754d2c1376d67c00852548758e1ec2a94c
tree3972d0cd4f87c8fe937ea86ac9b677f9dbc9d4d6
parent1795cd9b3a91d4b5473c97f491d63892442212ab
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