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

w1: ds2482: Add i2c module alias name

Add i2c alias to enable autoloading of the module for device specified
in device-tree.

Signed-off-by: Ludek Hlavacek <ludek_h@seznam.cz>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ludek Hlavacek and committed by
Greg Kroah-Hartman
0dcacd76 fdd2db29

+1
+1
drivers/w1/masters/ds2482.c
··· 93 93 { "ds2482", 0 }, 94 94 { } 95 95 }; 96 + MODULE_DEVICE_TABLE(i2c, ds2482_id); 96 97 97 98 static struct i2c_driver ds2482_driver = { 98 99 .driver = {