commit | daae7861a696b66acb3547c1cb9247cb3abaf0b3 | [log] [tgz] |
---|---|---|
author | Tomasz Duszynski <tduszyns@gmail.com> | Sun Sep 02 15:29:23 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Sep 08 16:01:40 2018 +0100 |
tree | 0098b148073e0aaf0e89dfb2ad2a33ad06972ddf | |
parent | c0f87b3335100108ce80cda3e09f11c3a82f081a [diff] |
iio: light: bh1750: simplify setting PM ops Relying on CONFIG_PM_SLEEP to set PM ops is not necessary since core will handle everything internally. One have to only make sure that functions that can go unused are marked with __maybe_unused. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>