Skip to content
Commit 4f5a66b0 authored by Fabio Estevam's avatar Fabio Estevam Committed by Linus Torvalds
Browse files

drivers/video/backlight/l4f00242t03.c: use gpio_request_one() to simplify error handling



Using gpio_request_one can make the error handling simpler.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0556dc34
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment