drivers/w1/masters/ds1wm.cuse dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 12 Nov 2013 23:11:41 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:35 +0000 (12:09 +0900)
commit75f9e937d24fdf661ebd5c9bed05caa4aad90539
tree4454c256e72ece412684865fffb831b846b2e4ee
parenta0e5a12fd18d47aa87a7a8c60ca5bc422b136564
drivers/w1/masters/ds1wm.cuse 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>
drivers/w1/masters/ds1wm.c