]> git.baikalelectronics.ru Git - kernel.git/commit
iio: humidity: hts221: Use dev_get_platdata() to get platform_data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Mar 2020 10:49:53 +0000 (12:49 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Mar 2020 10:26:54 +0000 (10:26 +0000)
commit61d6db0e204efaf456bbcb7e64e89581373a320b
treedc4f6ac7ce17866bd8860f160e781175ba665b1b
parent64a3e790171b41271a0fcd05c2aad13c550174c8
iio: humidity: hts221: Use dev_get_platdata() to get platform_data

Use dev_get_platdata() to get the platform_data instead of
referencing it directly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/hts221_buffer.c