]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/w1/masters/w1-gpio.c: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 14 Nov 2013 22:32:04 +0000 (14:32 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Nov 2013 00:32:21 +0000 (09:32 +0900)
commit8fff0a835a367a4489e62ba531809671b101deca
tree9212f8541b9fcf9858c88f4b15680b56fcc49bf8
parent2f89f07d1199a95d10b1ff35b4de65145d39243e
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>
drivers/w1/masters/w1-gpio.c