9
0
Fork 0

mfd: da9053: remove references to nonexistent cdev member

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Lucas Stach 2015-09-03 10:00:54 +02:00 committed by Sascha Hauer
parent 2b016bf078
commit 6e5b9b5ffd
1 changed files with 1 additions and 2 deletions

View File

@ -149,7 +149,7 @@ static int da9053_enable_multiwrite(struct da9053_priv *da9053)
static int da9053_set_timeout(struct watchdog *wd, unsigned timeout)
{
struct da9053_priv *da9053 = wd_to_da9053_priv(wd);
struct device_d *dev = da9053->cdev.dev;
struct device_d *dev = da9053->dev;
unsigned scale = 0;
int ret;
u8 val;
@ -269,7 +269,6 @@ static int da9053_probe(struct device_d *dev)
da9053 = xzalloc(sizeof(*da9053));
da9053->dev = dev;
da9053->cdev.name = DRIVERNAME;
da9053->client = to_i2c_client(dev);
da9053->wd.set_timeout = da9053_set_timeout;
da9053->wd.priority = of_get_watchdog_priority(dev->device_node);