On Thu, Dec 22, 2011 at 02:42:46PM +0200, Peter Ujfalusi wrote: > +#define twl6040_disconnect_pin(dapm, connected, pin) \ > + if (!connected) \ > + snd_soc_dapm_disable_pin(dapm, pin); > + This should be a function for legibility and type safety.