Messages in this thread | | | Date | Thu, 6 Apr 2023 15:45:18 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH v2 1/2] pwm: rcar: drop of_match_ptr for ID table |
| |
On Sun, Mar 12, 2023 at 02:51:19PM +0100, Krzysztof Kozlowski wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it might not be relevant here). This > also fixes !CONFIG_OF error: > > drivers/pwm/pwm-rcar.c:252:34: error: ‘rcar_pwm_of_table’ defined but not used [-Werror=unused-const-variable=] > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Changes since v1: > 1. Extend commit msg. > --- > drivers/pwm/pwm-rcar.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
I've applied both patches with an updated commit message clarifying the exact configuration as pointed out by Uwe.
Thanks, Thierry [unhandled content-type:application/pgp-signature] | |