Re: [PATCH v2 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-09-01 Thread Laurentiu Palcu
On Sat, Aug 30, 2014 at 11:45:33AM +0100, Jonathan Cameron wrote: > On 29/08/14 09:38, Laurentiu Palcu wrote: > > When CONFIG_PM_RUNTIME is not set, the following issues are seen: > > * warning message at compilation time: > > warning: 'bmc150_accel_get_startup_times' defined but not used > >

Re: [PATCH v2 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-08-30 Thread Jonathan Cameron
On 29/08/14 09:38, Laurentiu Palcu wrote: > When CONFIG_PM_RUNTIME is not set, the following issues are seen: > * warning message at compilation time: > warning: 'bmc150_accel_get_startup_times' defined but not used > [-Wunused-function] > * bmc150_accel_set_power_state() will always fail an

[PATCH v2 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-08-29 Thread Laurentiu Palcu
When CONFIG_PM_RUNTIME is not set, the following issues are seen: * warning message at compilation time: warning: 'bmc150_accel_get_startup_times' defined but not used [-Wunused-function] * bmc150_accel_set_power_state() will always fail and reading the accelerometer data is impossible;