From: Stephen Warren Date: Mon, 30 Apr 2012 23:24:10 +0000 (-0600) Subject: USB: ehci-tegra: remove redundant gpio_set_value X-Git-Tag: v3.4-rc6~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04c235c92ce8474e9f2b358bd97f013a500385f2;p=pandora-kernel.git USB: ehci-tegra: remove redundant gpio_set_value The immediately preceding gpio_direction_output() already set the value, so there's no need to repeat it. This also prevents gpio_set_value() from WARNing when the GPIO is sleepable (e.g. is on an I2C expander); the set direction API is always sleepable, but plain set_value isn't. Cc: # v3.3 Signed-off-by: Stephen Warren Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed