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

Eric W. Biederman ebiederm at xmission.com
Fri May 29 22:46:49 AEST 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.

Eric


More information about the Linuxppc-dev mailing list