Messages in this thread | | | Date | Thu, 29 Nov 2012 14:57:05 +0530 | Subject | Re: [PATCH V4 Resend 3/3] mfd: stmpe: Update DT support in stmpe driver | From | Viresh Kumar <> |
| |
On 29 November 2012 14:53, Lee Jones <lee.jones@linaro.org> wrote: >> From: Vipul Kumar Samar <vipulkumar.samar@st.com> >> + /* >> + * Distinct names of same cell-type within multiple instances of stmpe >> + * will be guaranteed by DT. >> + */ >> + pdata->id = -1; > > And what if we're not booting with DT?
Then it is responsibility of code creating platform data for stmpe to fill it appropriately. i.e. If there is only one instance of stmpe on board, then better pass it as -1, else start counting.
| |