summaryrefslogtreecommitdiff
path: root/mm/ptdump.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-08-31 12:08:06 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 21:40:58 +0300
commit5265b267e303ed07d922e0c353feec1fef1805cc (patch)
tree5eb6b62cfc072ed3d628636acc35b3a57e33305b /mm/ptdump.c
parent8d7eab620713013fab061925775b695a4ff3b258 (diff)
downloadlinux-5265b267e303ed07d922e0c353feec1fef1805cc.tar.xz
iio: accel: bma220: Fix returned codes from bma220_init(), bma220_deinit()
Potentially bma220_init() and bma220_deinit() may return positive codes. Fix the logic to return proper error codes instead. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200831090813.78841-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions