[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4bb91b5-a0c9-a81f-cdf8-7ce75552eacb@kernel.org>
Date: Fri, 13 Jan 2023 09:13:01 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Mubin Sayyed <mubin.sayyed@....com>, robh+dt@...nel.org,
treding@...dia.com, u.kleine-koenig@...gutronix.de,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, git@....com, michal.simek@....com,
siva.durga.prasad.paladugu@....com, mubin10@...il.com
Subject: Re: [LINUX PATCH 3/3] pwm: pwm-cadence: Add support for TTC PWM
On 12/01/2023 08:15, Mubin Sayyed wrote:
> Cadence TTC timer can be configured as clocksource/clockevent
> or PWM device. Specific TTC device would be configured as PWM
> device, if pwm-cells property is present in the device tree
> node.
>
(...)
> +
> +static const struct of_device_id ttc_pwm_of_match[] = {
> + { .compatible = "cdns,ttc"},
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, ttc_pwm_of_match);
> +
> +static struct platform_driver ttc_pwm_driver = {
> + .probe = ttc_pwm_probe,
> + .remove = ttc_pwm_remove,
> + .driver = {
> + .name = "ttc-pwm",
> + .of_match_table = of_match_ptr(ttc_pwm_of_match),
This leads to warnings. Drop it or use maybe_unused.
Best regards,
Krzysztof
Powered by blists - more mailing lists