Re: [PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-06 Thread Eduardo Valentin
On Sun, Apr 08, 2018 at 05:31:45PM +0530, srplinux2008 wrote: > From: srp linux > > Correct the typecast with const to struct thermal_cooling_device_ops. > It is the last argument to the function thermal_of_cooling_device_register > and this argument is of type const. So,

Re: [PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-06 Thread Eduardo Valentin
On Sun, Apr 08, 2018 at 05:31:45PM +0530, srplinux2008 wrote: > From: srp linux > > Correct the typecast with const to struct thermal_cooling_device_ops. > It is the last argument to the function thermal_of_cooling_device_register > and this argument is of type const. So, declare this structure

Re: [PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-09 Thread Thierry Reding
On Sun, Apr 08, 2018 at 05:31:45PM +0530, srplinux2008 wrote: > From: srp linux Looks like you haven't properly set up git. Try setting your real name using: $ git config user.name 'Your Name' > Correct the typecast with const to struct

Re: [PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-09 Thread Thierry Reding
On Sun, Apr 08, 2018 at 05:31:45PM +0530, srplinux2008 wrote: > From: srp linux Looks like you haven't properly set up git. Try setting your real name using: $ git config user.name 'Your Name' > Correct the typecast with const to struct thermal_cooling_device_ops. > It is the last

[PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant.

[PATCH] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-04-08 Thread srplinux2008
From: srp linux Correct the typecast with const to struct thermal_cooling_device_ops. It is the last argument to the function thermal_of_cooling_device_register and this argument is of type const. So, declare this structure thermal_cooling_device_ops as constant. Signed-off-by: srp linux ---