Re: [PATCH] pinctrl: mediatek: Fix multiple registeration issue.

2015-08-12 Thread Hongzhou Yang
On Tue, 2015-08-11 at 15:45 +0800, Daniel Kurtz wrote: > On Tue, Aug 11, 2015 at 12:49 PM, Hongzhou Yang > wrote: > > Use dynamic allocation to fix multiple registeration issue. > > s/registeration/registration - here and in the patch subject. > > > > > --8< >

Re: [PATCH] pinctrl: mediatek: Fix multiple registeration issue.

2015-08-11 Thread Daniel Kurtz
On Tue, Aug 11, 2015 at 12:49 PM, Hongzhou Yang wrote: > Use dynamic allocation to fix multiple registeration issue. s/registeration/registration - here and in the patch subject. > > --8< I don't think this is required. > Since our common driver need support m

[PATCH] pinctrl: mediatek: Fix multiple registeration issue.

2015-08-10 Thread Hongzhou Yang
Use dynamic allocation to fix multiple registeration issue. --8< Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use g