[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAH9NwWf5MMEji0FqJognmaYC1153MY8=JL1gNO_uZgnUkYqUVw@mail.gmail.com>
Date: Tue, 12 Jun 2012 09:50:10 +0200
From: Christian Gmeiner <christian.gmeiner@...il.com>
To: axel.lin@...il.com
Cc: Jingoo Han <jg1.han@...sung.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Richard Purdie <rpurdie@...ys.net>
Subject: Re: [PATCH v2 2/3][RESEND] backlight: ot200_bl: use devm_ functions
2012/6/12 Axel Lin <axel.lin@...il.com>:
>> error_mfgpt_alloc:
>> gpio_free(GPIO_DIMM);
>
> You can also use devm_gpio_request, so you can remove gpio_free here
> and remove the gpio_free in ot200_backlight_remove().
nice catch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists