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

From: Eric W. Biederman
Date: Fri May 29 2020 - 08:50:47 EST


Luis Chamberlain <mcgrof@xxxxxxxxxx> 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