android_kernel_xiaomi_sm8350/drivers/char/ip2
Jiri Slaby f1ddfd9502 ip2: init/deinit cleanup
Cleanup of module_init/exit:
- mostly whitespace
- remove empty functions
- replace c++ comments
- remove useless prints (module loaded, unloaded)
- mark the calls as __exit and __init
- use break; and return; to save some indent levels after it
- note resource leakage

It's still mess, but now it's readable.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-13 09:51:39 -07:00
..
i2cmd.c
i2cmd.h
i2ellis.c ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2ellis.h ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
i2hw.h Char: ip2, macros cleanup 2008-04-30 08:29:44 -07:00
i2lib.c tty: Ldisc revamp 2008-07-20 17:12:34 -07:00
i2lib.h
i2pack.h
ip2.h
ip2ioctl.h
ip2main.c ip2: init/deinit cleanup 2008-10-13 09:51:39 -07:00
ip2trace.h
ip2types.h
Makefile Char: merge ip2main and ip2base 2008-10-13 09:51:39 -07:00