diff options
author | Eddie James <eajames@linux.ibm.com> | 2022-09-15 22:57:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 20:42:55 +0300 |
commit | c2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7 (patch) | |
tree | b2efd9dc3102d55947f20b87cc0d3be7e53b01aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4b622a658c21d4de7f6fdb6b5e1c99bfb20b2d22 (diff) | |
download | linux-c2329717bdd3fa62f8a2f3d8d85ad0bee4556bd7.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions