video: use dev_get_platdata()

Started by Jingoo Han on Sep 17, 2013 · 2 messages from 2 authors · Last reply Sep 20, 2013

STALE4819d

open the first message on its own page

Message details and related content
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

---
 drivers/video/amba-clcd.c        |    2 +-
 drivers/video/atmel_lcdfb.c      |    4 ++--
 drivers/video/da8xx-fb.c         |    4 ++--
 drivers/video/ep93xx-fb.c        |    2 +-
 drivers/video/imxfb.c            |    6 +++---
 drivers/video/mbx/mbxfb.c        |    2 +-
 drivers/video/mx3fb.c            |    4 ++--
 drivers/video/nuc900fb.c         |    6 +++---
 drivers/video/omap/hwa742.c      |    2 +-
 drivers/video/omap/omapfb_main.c |    4 ++--
 drivers/video/pxa168fb.c         |    6 +++---
 drivers/video/pxafb.c            |   16 ++++++++--------
 drivers/video/s1d13xxxfb.c       |   12 ++++++------
 drivers/video/s3c-fb.c           |    2 +-
 drivers/video/s3c2410fb.c        |    6 +++---
 drivers/video/sa1100fb.c         |    4 ++--
 drivers/video/sh_mobile_hdmi.c   |    6 +++---
 drivers/video/simplefb.c         |    4 ++--
 drivers/video/tmiofb.c           |   10 +++++-----
 drivers/video/w100fb.c           |    2 +-
 20 files changed, 52 insertions(+), 52 deletions(-)

Message details and related content
On 17/09/13 07:53, Jingoo Han wrote:
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

---
 drivers/video/amba-clcd.c        |    2 +-
 drivers/video/atmel_lcdfb.c      |    4 ++--
 drivers/video/da8xx-fb.c         |    4 ++--
 drivers/video/ep93xx-fb.c        |    2 +-
 drivers/video/imxfb.c            |    6 +++---
 drivers/video/mbx/mbxfb.c        |    2 +-
 drivers/video/mx3fb.c            |    4 ++--
 drivers/video/nuc900fb.c         |    6 +++---
 drivers/video/omap/hwa742.c      |    2 +-
 drivers/video/omap/omapfb_main.c |    4 ++--
 drivers/video/pxa168fb.c         |    6 +++---
 drivers/video/pxafb.c            |   16 ++++++++--------
 drivers/video/s1d13xxxfb.c       |   12 ++++++------
 drivers/video/s3c-fb.c           |    2 +-
 drivers/video/s3c2410fb.c        |    6 +++---
 drivers/video/sa1100fb.c         |    4 ++--
 drivers/video/sh_mobile_hdmi.c   |    6 +++---
 drivers/video/simplefb.c         |    4 ++--
 drivers/video/tmiofb.c           |   10 +++++-----
 drivers/video/w100fb.c           |    2 +-
 20 files changed, 52 insertions(+), 52 deletions(-)
Thanks, applying for 3.13.

 Tomi

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help