]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: camera: Factorize link power mode configuration code into a function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 14 Feb 2016 00:33:04 +0000 (02:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 15 Feb 2016 22:55:17 +0000 (14:55 -0800)
commitc161c0fc2f18ab8c299d6cb716d6264427e38867
tree94241ae7191659dc90721ce6df94ce487e69c387
parent68b1309be689ec4e93d2b48e09ccaaa8abf5b0b6
greybus: camera: Factorize link power mode configuration code into a function

Avoid duplicating the same code block multiple times.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo.mondi@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c