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

[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

[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 u.kleine-koe...@pengutronix.de 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

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 u...@kleine-koenig.org: From: Uwe Kleine-König u.kleine-koe...@pengutronix.de 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