[Intel-gfx] [PATCH 02/13] cdrom: use new sysctl subdir helper register_sysctl_subdir()

Eric W. Biederman ebiederm at xmission.com
Fri May 29 12:46:49 UTC 2020

Luis Chamberlain <mcgrof at kernel.org> writes:

> This simplifies the code considerably. The following coccinelle

With register_sysctl the code would read:

	cdrom_sysctl_header = register_sysctl("dev/cdrom", cdrom_table);

Please go that direction.  Thank you.


More information about the Intel-gfx mailing list