diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-11-28 20:06:03 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-12-11 06:21:01 -0800 |
commit | df989762bc4b71068e6adc0c2b5ef6f76b6acf74 (patch) | |
tree | 918544ffb1bed300db1c8e6e9d2a234666c35f6b /drivers/hwmon/max6620.c | |
parent | 5d9ad4e0fa7cc27199fdb94beb6ec5f655ba9489 (diff) |
hwmon: (tmp513) Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231128180654.395692-3-andriy.shevchenko@linux.intel.com
[groeck: Fixed excessive line length]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/max6620.c')
0 files changed, 0 insertions, 0 deletions