Re: [PATCH v7 7/9] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-09 Thread Sebastian Reichel
Hi, On Tue, Jan 09, 2018 at 11:53:05AM +0530, Keerthy wrote: > From: Ladislav Michl > > In the case of device tree boot the device platform data is usually > NULL so hook the platform data obtained from the match. > As part of un-constify the platform_data pointer. > >

Re: [PATCH v7 7/9] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-09 Thread Sebastian Reichel
Hi, On Tue, Jan 09, 2018 at 11:53:05AM +0530, Keerthy wrote: > From: Ladislav Michl > > In the case of device tree boot the device platform data is usually > NULL so hook the platform data obtained from the match. > As part of un-constify the platform_data pointer. > > Signed-off-by: Ladislav

[PATCH v7 7/9] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-08 Thread Keerthy
From: Ladislav Michl In the case of device tree boot the device platform data is usually NULL so hook the platform data obtained from the match. As part of un-constify the platform_data pointer. Signed-off-by: Ladislav Michl Signed-off-by: Keerthy

[PATCH v7 7/9] clocksource: timer-dm: Hook device platform data if not already assigned

2018-01-08 Thread Keerthy
From: Ladislav Michl In the case of device tree boot the device platform data is usually NULL so hook the platform data obtained from the match. As part of un-constify the platform_data pointer. Signed-off-by: Ladislav Michl Signed-off-by: Keerthy --- drivers/clocksource/timer-dm.c | 10