Re: [PATCH 1/2] w1: w1-gpio: use dev_get_platdata()

2013-08-31 Thread Evgeniy Polyakov
Hi 30.08.2013, 08:17, "Jingoo Han" : > 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. Both patches look good, thank you > Signed-off-by: Jingoo Han A

[PATCH 1/2] w1: w1-gpio: use dev_get_platdata()

2013-08-29 Thread Jingoo Han
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 --- drivers/w1/masters/w1-gpio.c | 10 +- 1 file changed, 5 insertions(+