[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eojlu5tv3kltam2eumfqzcsl7npexzpm6elwt4uc5whpfnq7qs@z24uatucv75z>
Date: Fri, 25 Oct 2024 22:54:25 +0200
From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] pwm: core: use device_match_name() instead of
strcmp(dev_name(...
Hello Andy,
On Fri, Oct 25, 2024 at 05:26:34PM +0300, Andy Shevchenko wrote:
> Use the dedicated helper for comparing device names against strings.
>
> Note, the current code has a check for the dev_name() against NULL.
> With the current implementations of the device_add() and dev_set_name()
> it most likely a theoretical assumption that that might happen, while
> I don't see how. Hence, that check has simply been removed.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
thanks, applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
Best regards
Uwe
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists