Re: [PATCH 0/9 v2] constify thermal_zone_of_device_ops structures

From: Julia Lawall
Date: Fri Aug 11 2017 - 01:17:17 EST




On Fri, 11 Aug 2017, Zhang Rui wrote:

> On Tue, 2017-08-08 at 17:08 +0200, Julia Lawall wrote:
> > The thermal_zone_of_device_ops structures are only passed as the
> > fourth
> > argument to thermal_zone_of_sensor_register or
> > devm_thermal_zone_of_sensor_register, both of which are declared as
> > const.
> > Thus the thermal_zone_of_device_ops structures themselves can be
> > const.
> >
> > v2: add structures passed to devm_thermal_zone_of_sensor_register
> > also.
> >
> > Done with the help of Coccinelle.
> >
> I don't see the patches changes out of drivers/thermal.
>
> As there is no dependencies between these patches, I guess I will only
> take patches that changes drivers/thermal.

No dependencies. Each individual patch was only sent to its maintainers.

julia

>
> thanks,
> rui
> > ---
> >
> > Âdrivers/hwmon/hwmon.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/hwmon/scpi-hwmon.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/input/touchscreen/sun4i-ts.cÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/thermal/broadcom/bcm2835_thermal.c |ÂÂÂÂ2 +-
> > Âdrivers/thermal/hisi_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/thermal/qoriq_thermal.cÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/thermal/rcar_gen3_thermal.cÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/thermal/samsung/exynos_tmu.cÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Âdrivers/thermal/zx2967_thermal.cÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂÂ2 +-
> > Â9 files changed, 9 insertions(+), 9 deletions(-)
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>