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: NSakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: NMaxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录