[PATCH v2 4/4] watchdog/pseries-wdt: initial support for H_WATCHDOG-based watchdog timers

Michael Ellerman mpe at ellerman.id.au
Fri Jun 24 23:51:01 AEST 2022


Scott Cheloha <cheloha at linux.ibm.com> writes:
...
> +
> +static struct platform_driver pseries_wdt_driver = {
> +	.driver = {
> +		.name = DRV_NAME,
> +		.owner = THIS_MODULE,

That owner assignment is not required.

It's set for you by platform_driver_register() via
module_platform_driver().

cheers


More information about the Linuxppc-dev mailing list