]> err.no Git - linux-2.6/commit
[PATCH] I2C: Make i2c_add_driver automatically set the proper module owner
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Dec 2005 23:33:15 +0000 (15:33 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2006 06:16:24 +0000 (22:16 -0800)
commitde59cf9ed44f64991e52a9de6094729537f0420c
tree038f6fb83228d09812f729d19fb7bdc8a324dd55
parente1c489b0e4fbb1687f8227fe78b4769c123768c1
[PATCH] I2C: Make i2c_add_driver automatically set the proper module owner

This prevents i2c drivers from messing up and forgetting to set the
module owner of their driver.  It also reduces the size of their drivers
by one line :)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
include/linux/i2c.h