/* Change the direction of a GPIO pin to input  */
static int kinetis_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
/* Change the direction of a GPIO pin to input  */
static int kinetis_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)
{
	KINETIS_GPIO(KINETIS_GPIO_GETPORT(gpio))->pddr &=
		~(1 << KINETIS_GPIO_GETPIN(gpio));
	return 0;
}