]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/gpio.h
gpiolib: rename pin range arguments
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Nov 2012 07:48:09 +0000 (08:48 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 21 Nov 2012 09:07:48 +0000 (10:07 +0100)
commit316511c0134acec8f4ea730bd1897c7a1124a7c1
tree810d6d4444f05b399edf588c16eea1ba188903eb
parent2e8b2eab94c35d83bb7da71c63b4695f32ddca88
gpiolib: rename pin range arguments

To be crystal clear on what the arguments mean in this
funtion dealing with both GPIO and PIN ranges with confusing
naming, we now have gpio_offset and pin_offset and we are
on the clear that these are offsets into the specific GPIO
and pin controller respectively. The GPIO chip itself will
of course keep track of the base offset into the global
GPIO number space.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
include/asm-generic/gpio.h
include/linux/gpio.h