]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/w1/masters/ds1wm.cuse dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:57:46 +0000 (16:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:57:46 +0000 (16:57 +1100)
commit1e07de35dd01ff2aba7bfc51ae55af912c98907c
treea7708f573e306a091754720d07a8a2332a11d2c8
parentb67aed072de7610f49e4870fb3b63edba1da3a7d
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>
drivers/w1/masters/ds1wm.c