sh-pfc: Remove check for impossible error condition
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Dec 2012 22:50:51 +0000 (23:50 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 00:24:21 +0000 (09:24 +0900)
commita99ebec16c0586ec0838558fd1a050801037ebc9
tree6b828ffec233eb8d6e9cc72fd091651520bdf6c9
parent4a2e0d18f95e1ec2b264f66e7cedec7f3dc54b44
sh-pfc: Remove check for impossible error condition

The pfc pointer can't be NULL in the get and set value functions, remove
the error check.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/pfc/gpio.c
This page took 0.024618 seconds and 5 git commands to generate.