/* THIS APPROACH WAS CHOSEN DU TO THE COMPLEX NATURE OF THE LPC32XX GPIOS; DO NOT TAKE THIS AS AN EXAMPLE FOR NEW CODE.  */
static int lpc32xx_gpio_get_function(struct udevice *dev, unsigned offset)
/* THIS APPROACH WAS CHOSEN DU TO THE COMPLEX NATURE OF THE LPC32XX GPIOS; DO NOT TAKE THIS AS AN EXAMPLE FOR NEW CODE.  */
static int lpc32xx_gpio_get_function(struct udevice *dev, unsigned offset)
{
	struct lpc32xx_gpio_priv *gpio_priv = dev_get_priv(dev);
	return gpio_priv->function[offset];
}