Re: [PATCH 3/3] Input: mms114 - add support for mms345l

From: Andi Shyti
Date: Tue Oct 08 2019 - 08:04:12 EST


> > - if (!i2c_check_functionality(client->adapter,
> > - I2C_FUNC_PROTOCOL_MANGLING)) {
> > + type = (enum mms_type)device_get_match_data(&client->dev);
>
> you don't need any cast here.

sorry, please ignore :)

Andi