[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201002181304.GJ3956970@smile.fi.intel.com>
Date: Fri, 2 Oct 2020 21:13:04 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Rahul Tanwar <rahul.tanwar@...ux.intel.com>
Cc: jdelvare@...e.com, linux@...ck-us.net, p.zabel@...gutronix.de,
linux-hwmon@...r.kernel.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
songjun.Wu@...el.com, cheol.yong.kim@...el.com,
qi-ming.wu@...el.com, rtanwar@...linear.com
Subject: Re: [PATCH v4 2/2] Add hardware monitoring driver for Moortec
MR75203 PVT controller
On Fri, Oct 02, 2020 at 09:11:35PM +0300, Andy Shevchenko wrote:
> On Fri, Oct 02, 2020 at 03:04:27PM +0800, Rahul Tanwar wrote:
...
> > + case hwmon_in:
> > + if (attr == hwmon_in_input)
> > + return 0444;
>
> > + return 0;
>
> > + default:
>
> > + return 0;
>
> break here and
>
> > + }
>
> return 0; here only once.
This probably makes little sense.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists