summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-11-14 14:32:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-15 09:32:21 +0900
commitc853b167e6ec1f25023cfc58ba2f43f9f6f5b49b (patch)
tree9212f8541b9fcf9858c88f4b15680b56fcc49bf8 /block/blk-sysfs.c
parent62026aedaacedbe1ffe94a3599ad4acd8ecdf587 (diff)
downloadlinux-c853b167e6ec1f25023cfc58ba2f43f9f6f5b49b.tar.gz
linux-c853b167e6ec1f25023cfc58ba2f43f9f6f5b49b.tar.bz2
linux-c853b167e6ec1f25023cfc58ba2f43f9f6f5b49b.zip
drivers/w1/masters/w1-gpio.c: use dev_get_platdata()
Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions