[PATCH] pinctrl: pinctrl-imx: only print debug message when DEBUG is defined

Linus Walleij linus.walleij at linaro.org
Sat Jul 14 16:29:16 EDT 2012


On Thu, Jul 12, 2012 at 11:12 AM, Dong Aisheng <b29396 at freescale.com> wrote:
> On Fri, Jul 06, 2012 at 05:11:40PM +0800, Dong Aisheng wrote:
>> On Thu, Jun 21, 2012 at 06:10:35PM +0800, Dong Aisheng wrote:
>> > From: Dong Aisheng <dong.aisheng at linaro.org>
>> >
>> > Fix regression for commit 3a86a5f8 (pinctrl: pinctrl-imx: free allocated
>> > pinctrl_map structure only once and use kernel facilities for IMX_PMX_DUMP)
>> > introduced in 3.5-rc3.
>> > With above commit, the debug code will alway be excuted.
>> > Change to excute it only when DEBUG is defined.
>> >
>> > Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
>> > ---
>> > Hopefully it can catch 3.5.
>> > ---
>> >  drivers/pinctrl/pinctrl-imx.c |    2 ++
>> >  1 files changed, 2 insertions(+), 0 deletions(-)
>> >
>> Ping.
>>
> Hi Linus,
>
> Can you help merge this?

OK applied it, we'll see if I can get it to Torvalds in time...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list