On 19 October 2012 15:31, Shiraz Hashim <shiraz.has...@st.com> wrote: > On Fri, Oct 19, 2012 at 11:29:43AM +0530, Shiraz HASHIM wrote: >> On Thu, Oct 18, 2012 at 11:11:06PM +0530, viresh kumar wrote: >> > On Thu, Oct 18, 2012 at 4:58 PM, Shiraz Hashim <shiraz.has...@st.com> >> > wrote: >> > > + pc->mmio_base = devm_request_and_ioremap(&pdev->dev, r); >> > > + if (!pc->mmio_base) >> > > + return -EADDRNOTAVAIL; >> > >> > Just check, i believe there is a routine which will do above two in a >> > single >> > call.. >> > >> >> I would cross check. >> > > Couldn't find a suitable call.
Even i couldn't :( But i remember there was something similar.. No issues, leave it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/