Re: [PATCH] platform/x86: Switch back to struct platform_driver::remove()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Ilpo,

On Thu, Oct 17, 2024 at 12:52:44PM +0300, Ilpo Järvinen wrote:
> On Thu, 17 Oct 2024, Uwe Kleine-König wrote:
> > After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> > return void") .remove() is (again) the right callback to implement for
> > platform drivers.
> > 
> > Convert all platform drivers below drivers/platform/x86/ to use
> > .remove(), with the eventual goal to drop struct
> > platform_driver::remove_new(). As .remove() and .remove_new() have the
> > same prototypes, conversion is done by just changing the structure
> > member name in the driver initializer.
> > 
> > While touching these files, make indention of the struct initializer
> > consistent in several files.
> 
> Thanks.
> 
> I've applied this patch now to review-ilpo branch, it applied conflict 
> free (unsurprisingly).

Thanks.

> Next time, please make PATCH x/y out of indentation or any other unrelated 
> change (I'm happy to take them too). I often validate large-scale 
> mechanical changes like this using tools because it's harder to fool 
> a pattern matcher than my eyes/mind. Any unrelated change creates noise
> I have to deal with.

I'll try to remember. But I already now ask for forgiveness because in
my experience trivial whitespace only changes are not so well received
by most maintainers and in the past I was asked to squash these cleanups
into the functional patches. Do you know about git show -b (and diff
-b)?

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux