commit | 0ab21d0edb5deba027460961baf49433246853db | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Oct 31 16:21:43 2017 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Nov 16 01:01:55 2017 -0800 |
tree | c91800bed29f852b8a6ee2f75642eccbc8f92ec8 | |
parent | ab5ee24615f9dd8b0cd199403959f8b13309e7b1 [diff] |
hwmon: (w83781d) Remove duplicate NULL check Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Cc: Jean Delvare <jdelvare@suse.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: linux-hwmon@vger.kernel.org Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Acked-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>