[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1380444666-12019-2-git-send-email-lars@metafoo.de>
Date: Sun, 29 Sep 2013 10:50:59 +0200
From: Lars-Peter Clausen <lars@...afoo.de>
To: Wolfram Sang <wsa@...-dreams.de>, David Airlie <airlied@...ux.ie>,
Mauro Carvalho Chehab <m.chehab@...sung.com>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-media@...r.kernel.org,
alsa-devel@...a-project.org, Lars-Peter Clausen <lars@...afoo.de>,
Kyungmin Park <kyungmin.park@...sung.com>,
Andrzej Hajda <a.hajda@...sung.com>
Subject: [PATCH 1/8] [media] s5c73m3: Don't use i2c_client->driver
The 'driver' field of the i2c_client struct is redundant and is going to be
removed. The results of the expressions 'client->driver.driver->field' and
'client->dev.driver->field' are identical, so replace all occurrences of the
former with the later.
Signed-off-by: Lars-Peter Clausen <lars@...afoo.de>
Cc: Kyungmin Park <kyungmin.park@...sung.com>
Cc: Andrzej Hajda <a.hajda@...sung.com>
---
drivers/media/i2c/s5c73m3/s5c73m3-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
index b76ec0e..1083890 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c
@@ -1581,7 +1581,7 @@ static int s5c73m3_probe(struct i2c_client *client,
oif_sd = &state->oif_sd;
v4l2_subdev_init(sd, &s5c73m3_subdev_ops);
- sd->owner = client->driver->driver.owner;
+ sd->owner = client->dev.driver->owner;
v4l2_set_subdevdata(sd, state);
strlcpy(sd->name, "S5C73M3", sizeof(sd->name));
--
1.8.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists