gpio: discourage passing base to gpio_chip
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 13 May 2015 11:03:21 +0000 (13:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 14 May 2015 10:19:48 +0000 (12:19 +0200)
commitaf6c235d1a5c112964c3029eb0ed4b52c7aa33bf
tree393b8dceec3cd64bfae6d60dbb75139adf2a9487
parent25e4fe92a20bbffde87500615250f1d54bfb832f
gpio: discourage passing base to gpio_chip

Passing a fixed base in struct gpio_chip is done for legacy
systems that cannot handle dynamic allocation. Discourage this
behaviour in the kerneldoc.

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/driver.h