[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250410075225.GL372032@google.com>
Date: Thu, 10 Apr 2025 08:52:25 +0100
From: Lee Jones <lee@...nel.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: a0282524688@...il.com, linus.walleij@...aro.org, brgl@...ev.pl,
andi.shyti@...nel.org, mkl@...gutronix.de,
mailhol.vincent@...adoo.fr, andrew+netdev@...n.ch,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, wim@...ux-watchdog.org, linux@...ck-us.net,
jdelvare@...e.com, alexandre.belloni@...tlin.com,
linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-can@...r.kernel.org,
netdev@...r.kernel.org, linux-watchdog@...r.kernel.org,
linux-hwmon@...r.kernel.org, linux-rtc@...r.kernel.org,
linux-usb@...r.kernel.org, Ming Yu <tmyu0@...oton.com>
Subject: Re: [PATCH v9 1/7] mfd: Add core driver for Nuvoton NCT6694
On Thu, 10 Apr 2025, Krzysztof Kozlowski wrote:
> On 09/04/2025 10:27, a0282524688@...il.com wrote:
> > +
> > +static int nct6694_response_err_handling(struct nct6694 *nct6694,
> > + unsigned char err_status)
> > +{
> > + switch (err_status) {
> > + case NCT6694_NO_ERROR:
> > + return 0;
> > + case NCT6694_NOT_SUPPORT_ERROR:
> > + dev_err(nct6694->dev, "Command is not supported!\n");
> > + break;
> > + case NCT6694_NO_RESPONSE_ERROR:
> > + dev_warn(nct6694->dev, "Command received no response!\n");
> > + break;
> > + case NCT6694_TIMEOUT_ERROR:
> > + dev_warn(nct6694->dev, "Command timed out!\n");
> > + break;
> > + case NCT6694_PENDING:
> > + dev_err(nct6694->dev, "Command is pending!\n");
> > + break;
> > + default:
> > + return -EINVAL;
> > + }
> > +
> > + return -EIO;
> > +}
> > +
>
> Missing Kconfig. Exported functions are supposed to have it.
-------
KernelDoc
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists