]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e91904153fb5b3d4922c21a10b711d0b1fff1b4
tree4454c256e72ece412684865fffb831b846b2e4ee
parent146037e295381debcdb9a2b2fe856fb73712b6d9
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