[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e5b8537-11c3-43f6-ca86-120b12ade3a4@yunjingtech.com>
Date: Fri, 29 Dec 2023 17:18:38 +0800
From: Jack Chang <jack.chang@...jingtech.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
"larry.lai" <larry.lai@...jingtech.com>, lee@...nel.org,
andriy.shevchenko@...ux.intel.com, linus.walleij@...aro.org, pavel@....cz
Cc: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-leds@...r.kernel.org, GaryWang@...on.com.tw, musa.lin@...jingtech.com,
noah.hung@...jingtech.com
Subject: Re: [PATCH V8 3/3] leds: Add support for UP board CPLD onboard LEDS
On 2023/12/28 23:29, Krzysztof Kozlowski wrote:
> On 28/12/2023 16:15, larry.lai wrote:
>> The UP boards come with a few FPGA-controlled onboard LEDs:
...
>> +static int upboard_led_probe(struct platform_device *pdev)
>> +{
>> + struct upboard_fpga * const cpld = dev_get_drvdata(pdev->dev.parent);
>> + struct reg_field fldconf = {
>> + .reg = UPFPGA_REG_FUNC_EN0,
>> + };
>> + struct upboard_led_data * const pdata = pdev->dev.platform_data;
>
> Your const does not make sense. Please read C standard how qualifiers
> are applied.
will do
>> +MODULE_ALIAS("platform:upboard-led");
>
> Nothing improved here.
>
> This is a friendly reminder during the review process.
>
> It seems my or other reviewer's previous comments were not fully
> addressed. Maybe the feedback got lost between the quotes, maybe you
> just forgot to apply it. Please go back to the previous discussion and
> either implement all requested changes or keep discussing them.
the same as pinctrl-upboard doing
--
Best Regards,
Jack Chang
Powered by blists - more mailing lists