Re: [PATCH 2/3] ti-st: st_kim: fix nshutdown_gpio in get_platform_data

2015-06-24 Thread Peter Hurley
On 06/24/2015 11:39 AM, Jürg Billeter wrote: > Do you have a suggestion how to fix this without breaking existing > dtbs? Do we need to introduce a second property and support both in the > driver? Exactly. Regards, Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH 2/3] ti-st: st_kim: fix nshutdown_gpio in get_platform_data

2015-06-24 Thread Jürg Billeter
On Wed, 2015-06-24 at 11:31 -0400, Peter Hurley wrote: > On 06/24/2015 06:24 AM, Jürg Billeter wrote: > > @@ -761,8 +762,14 @@ static struct ti_st_plat_data > > *get_platform_data(struct device *dev) > > dt_property = of_get_property(np, "dev_name", &len); > > if (dt_property) > >

Re: [PATCH 2/3] ti-st: st_kim: fix nshutdown_gpio in get_platform_data

2015-06-24 Thread Peter Hurley
On 06/24/2015 06:24 AM, Jürg Billeter wrote: > Use of_get_named_gpio instead of of_property_read_u32. > > Signed-off-by: Jürg Billeter > --- > drivers/misc/ti-st/st_kim.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/drivers/misc/ti-st/st_kim.c b/driver

[PATCH 2/3] ti-st: st_kim: fix nshutdown_gpio in get_platform_data

2015-06-24 Thread Jürg Billeter
Use of_get_named_gpio instead of of_property_read_u32. Signed-off-by: Jürg Billeter --- drivers/misc/ti-st/st_kim.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c index af71584..8df8faa 100644 --- a/dri