Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] pcf8563: remove MOD_INC_USE_COUNT, MOD_DEC_USE_COUNT

It already has .owner.

Signed-off-by: Irwan Djajadi <irwan.djajadi@iname.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Irwan Djajadi and committed by
Linus Torvalds
5f49d724 32ea086b

-2
-2
arch/cris/arch-v32/drivers/pcf8563.c
··· 324 324 int 325 325 pcf8563_open(struct inode *inode, struct file *filp) 326 326 { 327 - MOD_INC_USE_COUNT; 328 327 return 0; 329 328 } 330 329 331 330 int 332 331 pcf8563_release(struct inode *inode, struct file *filp) 333 332 { 334 - MOD_DEC_USE_COUNT; 335 333 return 0; 336 334 } 337 335