Re: [Industrypack-devel] [PATCH v1 1/2] ipack: Fail earlier for drivers without probe function

2021-02-09 Thread Samuel Iglesias Gonsálvez
Hi Uwe, Thanks for the patches! Patch series is, Acked-by: Samuel Iglesias Gonsalvez Greg, Would you mind picking this patch series through your char-misc tree? Thanks! Sam On Sun, 2021-02-07 at 22:55 +0100, Uwe Kleine-König wrote: > A driver without a probe function isn't useful as it can

Re: [Industrypack-devel] [PATCH v1 1/2] ipack: Fail earlier for drivers without probe function

2021-02-09 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2021 at 09:40:12AM +0100, Samuel Iglesias Gonsálvez wrote: > Hi Uwe, > > Thanks for the patches! > > Patch series is, > > Acked-by: Samuel Iglesias Gonsalvez > > Greg, Would you mind picking this patch series through your char-misc > tree? Will be glad to, thanks! greg k-h

[PATCH v1 1/2] ipack: Fail earlier for drivers without probe function

2021-02-07 Thread Uwe Kleine-König
A driver without a probe function isn't useful as it can never be used. Let registering such a driver fail already instead of failing every binding. This is only cosmetic as there is no ipack driver without a probe function. Signed-off-by: Uwe Kleine-König --- drivers/ipack/ipack.c | 6 +++---