On Sun, Aug 28, 2011 at 03:09:23PM +0200, Heiko Stübner wrote: > gpio_get_value is not definied for output-gpios and can therefore not be > used for the is_enabled and get_current_limit methods of the bq24022. > > This patch introduces a private struct to keep track of the values set. Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> This also fixes the use of platform data after probe - platform data should be able to be marked as initdata which may mean that the kernel discards it after boot. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm