Re: [PATCH 0/3] platform/x86: Drop empty platform remove functions

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

 



Hi,

On 12/13/22 17:23, Uwe Kleine-König wrote:
> Hello,
> 
> this series removes all platform remove functions that only return zero
> below drivers/platform/x86. There is no reason to have these, as the only
> caller is platform core code doing:
> 
>         if (drv->remove) {
>                 int ret = drv->remove(dev);
> 
>                 if (ret)
>                         dev_warn(...)
>         }
> 
> (in platform_remove()) and so having no remove function is both
> equivalent and simpler.

Thank you for your patch-series, I've applied the series to my
review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my
local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be
added to the platform-drivers-x86/for-next branch and eventually
will be included in the pdx86 pull-request to Linus for the next
merge-window.

Regards,

Hans





> Uwe Kleine-König (3):
>   platform/x86: acerhdf: Drop empty platform remove function
>   platform/x86: intel: oaktrail: Drop empty platform remove function
>   platform/x86: intel: punit_ipc: Drop empty platform remove function
> 
>  drivers/platform/x86/acerhdf.c         | 6 ------
>  drivers/platform/x86/intel/oaktrail.c  | 6 ------
>  drivers/platform/x86/intel/punit_ipc.c | 6 ------
>  3 files changed, 18 deletions(-)
> 
> 
> base-commit: 830b3c68c1fb1e9176028d02ef86f3cf76aa2476




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

  Powered by Linux