6 Nov
2014
6 Nov
'14
7 a.m.
On Thu, Nov 06, 2014 at 12:23:53PM +0800, bardliao@realtek.com wrote:
- case RT5670_ID_5670:
- case RT5670_ID_5671:
This looks like it also adds rt5671 support but...
static const struct i2c_device_id rt5670_i2c_id[] = { { "rt5670", 0 },
- { "rt5672", 0 }, { }
};
...not here. Otherwise this is fine, though it would be better to warn if the user registered the device as one type but it turns out to be another when we read the ID register.