]> git.baikalelectronics.ru Git - kernel.git/commit
char/nvram: Re-order functions to remove forward declarations and #ifdefs
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 15 Jan 2019 04:18:56 +0000 (15:18 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 09:21:43 +0000 (10:21 +0100)
commit3fa18c6d4a1e42b3bd455c7f4c899c7f7378b52a
treebb1c5a443eef89d8e0e4e7da719603b4fa5a4631
parent024b0f9f341d664ca6d6ad8538882d54a5f0dc3a
char/nvram: Re-order functions to remove forward declarations and #ifdefs

Also give functions more sensible names: nvram_misc_* for misc device ops,
nvram_proc_* for proc file ops and nvram_module_* for init and exit
functions. This prevents name collisions with nvram.h helper functions
and improves readability.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/nvram.c