Re: [PATCH v10 6/6] drm_modes: add of_videomode helpers

2012-11-15 Thread Thierry Reding
On Thu, Nov 15, 2012 at 10:23:57AM +0100, Steffen Trumtrar wrote:
[...]
 +int of_get_drm_display_mode(struct device_node *np,
 + struct drm_display_mode *dmode, unsigned int index)
 +{
 + struct videomode vm;
 + int ret;
 +
 + ret = of_get_videomode(np, vm, index);
 + if (ret)
 + return ret;
 +
 + display_mode_from_videomode(vm, dmode);

This function is now called drm_display_mode_from_videomode().

Thierry


pgpND3qQBeg7C.pgp
Description: PGP signature


Re: [PATCH v10 6/6] drm_modes: add of_videomode helpers

2012-11-15 Thread Steffen Trumtrar
On Thu, Nov 15, 2012 at 10:58:49AM +0100, Thierry Reding wrote:
 On Thu, Nov 15, 2012 at 10:23:57AM +0100, Steffen Trumtrar wrote:
 [...]
  +int of_get_drm_display_mode(struct device_node *np,
  +   struct drm_display_mode *dmode, unsigned int index)
  +{
  +   struct videomode vm;
  +   int ret;
  +
  +   ret = of_get_videomode(np, vm, index);
  +   if (ret)
  +   return ret;
  +
  +   display_mode_from_videomode(vm, dmode);
 
 This function is now called drm_display_mode_from_videomode().
 
Well, can't argue with that. You are right.

Regards,
Steffen

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html