Re: [PATCH v2 2/2] regulator: rk808: make better use of the gpiod API

2015-07-21 Thread Krzysztof Kozlowski
2015-07-21 23:46 GMT+09:00 Uwe Kleine-König : > From: Uwe Kleine-König > > The gpiod functions include variants for managed gpiod resources. Use it > to simplify the remove function. > > As the driver handles a device node without a specification of dvs gpios > just fine, additionally use the vari

[PATCH v2 2/2] regulator: rk808: make better use of the gpiod API

2015-07-21 Thread Uwe Kleine-König
From: Uwe Kleine-König The gpiod functions include variants for managed gpiod resources. Use it to simplify the remove function. As the driver handles a device node without a specification of dvs gpios just fine, additionally use the variant of gpiod_get exactly for this use case. This makes err