diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-11-27 07:51:12 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-12-16 04:48:55 +0100 |
commit | 217bfb5190813d97e6003f7692f8014655ffc02a (patch) | |
tree | b5eef7041fc0b3137be20505f9d07c2abaa3bfd5 /drivers/rtc/rtc-ds3234.c | |
parent | parisc: Convert BUG() to use unreachable() (diff) | |
download | linux-217bfb5190813d97e6003f7692f8014655ffc02a.tar.xz linux-217bfb5190813d97e6003f7692f8014655ffc02a.zip |
parisc: convert /proc/pdc/{lcd,led} to seq_file
Convert code away from ->read_proc/->write_proc interfaces.
Switch to proc_create()/proc_create_data() which make addition of
proc entries reliable wrt NULL ->proc_fops, NULL ->data and so on.
Problem with ->read_proc et al is described here
commit 786d7e1612f0b0adb6046f19b906609e4fe8b1ba
"Fix rmmod/read/write races in /proc entries"
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'drivers/rtc/rtc-ds3234.c')
0 files changed, 0 insertions, 0 deletions