Commit 698f0a59 authored by Jani Nikula's avatar Jani Nikula Committed by James Toy

Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>

Cc: David Brownell <david-b@pacbell.net>
Cc: Daniel Silverstone <dsilvers@simtec.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent e0e33648
...@@ -520,9 +520,6 @@ int gpio_export_link(struct device *dev, const char *name, unsigned gpio) ...@@ -520,9 +520,6 @@ int gpio_export_link(struct device *dev, const char *name, unsigned gpio)
struct gpio_desc *desc; struct gpio_desc *desc;
int status = -EINVAL; int status = -EINVAL;
BUG_ON(dev == NULL);
BUG_ON(name == NULL);
if (!gpio_is_valid(gpio)) if (!gpio_is_valid(gpio))
goto done; goto done;
......
Markdown is supported
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