Re: [PATCH 4/4] pinctrl: Don't copy function name when requesting a pin

2011-10-20 Thread Linus Walleij
On Thu, Oct 20, 2011 at 12:19 AM, Stephen Warren wrote: > Instead, store a pointer to the currently assigned function. > > This allows us to delete the mux_requested variable from pin_desc; a pin > is requested if its currently assigned function is non-NULL. > > When a pin is requested as a GPIO

[PATCH 4/4] pinctrl: Don't copy function name when requesting a pin

2011-10-19 Thread Stephen Warren
Instead, store a pointer to the currently assigned function. This allows us to delete the mux_requested variable from pin_desc; a pin is requested if its currently assigned function is non-NULL. When a pin is requested as a GPIO rather than a regular function, the assigned function name is dynami