summaryrefslogtreecommitdiff
path: root/sound/sparc
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-01-28 19:08:51 +0530
committerLinus Walleij <linus.walleij@linaro.org>2016-02-10 11:00:49 +0100
commit6ec9249a83b00a754af435ed57ad02ffed105d93 (patch)
treed82cb88cd586ea1dc5e2a8a09c3237295edcbdc9 /sound/sparc
parent310a7e60435151ccab6dc4bc64b4b3a93b89c0d1 (diff)
gpio: davinci: Fix the number of controllers allocated
Driver only needs to allocate for [ngpio / 32] controllers, as each controller handles 32 gpios. But the current driver allocates for ngpio of which the extra allocated are unused. Fix it be registering only the required number of controllers. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions