[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220611140629.GA289033@roeck-us.net>
Date: Sat, 11 Jun 2022 07:06:29 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Zev Weiss <zev@...ilderbeest.net>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org, Jean Delvare <jdelvare@...e.com>
Subject: Re: [PATCH v1 1/1] hwmon: (nct6775) Drop duplicate NULL check in
->init() and ->exit()
On Fri, Jun 10, 2022 at 01:33:24PM +0300, Andy Shevchenko wrote:
> Since platform_device_unregister() is NULL-aware, we don't need to duplicate
> this check. Remove it and fold the rest of the code.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Reviewed-by: Zev Weiss <zev@...ilderbeest.net>
Applied to hwmon-next.
Thanks,
Guenter
Powered by blists - more mailing lists