The patch titled Subject: backlight-add-of_find_backlight_by_node-function-fix-2 has been added to the -mm tree. Its filename is backlight-add-of_find_backlight_by_node-function-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx> Subject: backlight-add-of_find_backlight_by_node-function-fix-2 Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx> Reviewed-by: Grant Likely <grant.likely@xxxxxxxxxxxx> Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/backlight.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff -puN drivers/video/backlight/backlight.c~backlight-add-of_find_backlight_by_node-function-fix-2 drivers/video/backlight/backlight.c --- a/drivers/video/backlight/backlight.c~backlight-add-of_find_backlight_by_node-function-fix-2 +++ a/drivers/video/backlight/backlight.c @@ -376,6 +376,18 @@ static int of_parent_match(struct device return dev->parent && dev->parent->of_node == data; } +/** + * of_find_backlight_by_node() - find backlight device by device-tree node + * @node: device-tree node of the backlight device + * + * Returns a pointer to the backlight device corresponding to the given DT + * node or NULL if no such backlight device exists or if the device hasn't + * been probed yet. + * + * This function obtains a reference on the backlight device and it is the + * caller's responsibility to drop the reference by calling put_device() on + * the backlight device's .dev field. + */ struct backlight_device *of_find_backlight_by_node(struct device_node *node) { struct device *dev; _ Patches currently in -mm which might be from thierry.reding@xxxxxxxxxxxxxxxxx are origin.patch linux-next.patch mm-compaction-fix-compiler-warning.patch drivers-video-backlight-lp855x_blc-use-generic-pwm-functions.patch drivers-video-backlight-lp855x_blc-use-generic-pwm-functions-fix.patch drivers-video-backlight-lp855x_blc-remove-unnecessary-mutex-code.patch backlight-add-of_find_backlight_by_node-function.patch backlight-add-of_find_backlight_by_node-function-fix.patch backlight-add-of_find_backlight_by_node-function-fix-2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html