watchdog: ziirave_wdt: Correct I2C device id to fix module autoloading.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Sat, 9 Jul 2016 09:43:19 +0000 (11:43 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 19:01:31 +0000 (21:01 +0200)
commit22daf7a71683185db6bcb089e006be5f99dddf9c
tree858d5d0247bc76fd6fcc22adc71d14a59298481a
parentff9cc8384a3efba7e3daedf66dfd58b0a0fff069
watchdog: ziirave_wdt: Correct I2C device id to fix module autoloading.

The I2C core removes the manufacturer prefix from the compatible field
so it reports to user-space the uevent i2c:rave-wdt, but this doesn't
match with the i2c_device_id (i2c:ziirave-wdt) array so the module is not
autoloaded. Correct the I2C device id to match with the reported uevent
and fix the module autoloading functionality.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ziirave_wdt.c