]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/w1/masters/w1-gpio.c: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 06:07:05 +0000 (17:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 06:40:24 +0000 (17:40 +1100)
commit41d5bde1c7ad47b8caf34c481da7e5fd3f84a215
tree55fa7853f721ef8896d0a0ca9a322c7082874272
parent29766f19d0c3ba3518498a03d8e4b54053b39637
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>
drivers/w1/masters/w1-gpio.c