diff options
author | Eddie James <eajames@linux.ibm.com> | 2022-09-15 21:57:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 19:42:55 +0200 |
commit | c2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7 (patch) | |
tree | b2efd9dc3102d55947f20b87cc0d3be7e53b01aa /drivers/hwmon/Kconfig | |
parent | dt-bindings: iio: adi,ad7923: add adi,range-double property (diff) | |
download | linux-c2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7.tar.xz linux-c2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7.zip |
iio: pressure: dps310: Refactor startup procedure
Move the startup procedure into a function, and correct a missing
check on the return code for writing the PRS_CFG register.
Cc: <stable@vger.kernel.org>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220915195719.136812-2-eajames@linux.ibm.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions