# Re: \[PATCH 02/13\] cdrom: use new sysctl subdir helper register\_sysctl\_subdir()

- From: Eric W. Biederman \<hidden\>
- Date: 2020-05-29 12:50:47 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/05/5983299
- Thread: https://ratatoskr.run/intel-gfx/2020/05/5983299/t.md

```text
Luis Chamberlain [ref] 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
```
