OSDN Git Service

media: ov5640: Use dev_fwnode() to obtain device's fwnode
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 24 Apr 2018 10:25:47 +0000 (06:25 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 17 May 2018 10:22:08 +0000 (06:22 -0400)
commitce96bcf5b4dbd91795870b81d5f80d5257e9cb4c
treed5551f263057082479dff1a3b96a0abc75979ddb
parent47a52d024e89be114df910d8331c5cabd229da98
media: ov5640: Use dev_fwnode() to obtain device's fwnode

Use dev_fwnode() on the device instead of getting an fwnode handle of the
device's OF node. The result is the same on OF-based systems and looks
better, too.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov5640.c