[PATCH v7 0/3] drm/tinydrm: drm_of_find_backlight helper

Meghana Madhyastha meghana.madhyastha at gmail.com
Sun Oct 1 17:24:49 UTC 2017


Move tinydrm_of_find_backlight to drm_of.c and rename it to
drm_of_find_backlight for better organizational structure.

Changes in v7:
-Move the function definitions/declarations back to drm_of.h
 and modify the config option for of_find_backlight_by_node
 in linux/backlight.h to resolve the build errors.

Meghana Madhyastha (3):
  backlight: Add IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE)
  drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c
  drm/tinydrm: Add devres versions of drm_of_find_backlight

 drivers/gpu/drm/drm_of.c                       | 85 ++++++++++++++++++++++++++
 drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 40 ------------
 drivers/gpu/drm/tinydrm/mi0283qt.c             |  3 +-
 include/drm/drm_of.h                           | 14 +++++
 include/drm/tinydrm/tinydrm-helpers.h          |  1 -
 include/linux/backlight.h                      |  2 +-
 6 files changed, 102 insertions(+), 43 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list