[PATCH 1/4] gpiolib: make gpio_to_chip() public

2008-09-24 Thread Anton Vorontsov
We'll need this function to write platform-specific hooks to deal with pin's dedicated functions. Quite obviously this will work only for the platforms with 1-to-1 GPIO to PIN mapping. This is stopgap solution till we think out and implement a proper api (pinlib?). p.s. This patch actually

[PATCH 1/4] gpiolib: make gpio_to_chip() public

2008-09-23 Thread Anton Vorontsov
We'll need this function to write platform-specific hooks to deal with pin's dedicated functions. Quite obviously this will work only for the platforms with 1-to-1 GPIO to PIN mapping. This is stopgap solution till we think out and implement a proper api (pinlib?). p.s. This patch actually