[PATCH v1] drivers/gpio: remove redundant platform_set_drvdata()

andy.shevchenko at gmail.com andy.shevchenko at gmail.com
Mon Mar 6 14:54:23 PST 2023


Mon, Mar 06, 2023 at 11:15:32PM +0800, Lizhe kirjoitti:
> remove redundant platform_set_drvdata(),
> Because there is no place to use the platform_get_drvdata

The commit message has to be improved:
- English grammar and punctuation
- style of func()
- clearer wording on what it all means

Note, to get driver data the dev_get_drvdata() can be used. Do you aware about
this? And hHow did you check these drivers?

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list