[PATCH 2/6] thermal: sti: Introduce ST Thermal core code
Pavel Machek
pavel at ucw.cz
Sat Jun 14 15:31:56 PDT 2014
On Thu 2014-06-05 16:06:55, Lee Jones wrote:
> This core is shared by both ST's 'memory mapped' and
> 'system configuration register' based Thermal controllers.
>
> Signed-off-by: Ajit Pal Singh <ajitpal.singh at st.com>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
Acked-by: Pavel Machek <pavel at ucw.cz>
> +++ b/drivers/thermal/st/st_thermal.c
> @@ -0,0 +1,313 @@
> +/*
> + * ST Thermal Sensor Driver core routines
> + * Author: Ajit Pal Singh <ajitpal.singh at st.com>
> + *
> + * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + */
> +
> +#include <linux/clk.h>
> +#include <linux/module.h>
> +#include <linux/of.h>
> +#include <linux/of_device.h>
> +
> +#include "st_thermal.h"
...
> +/* Callback to get temperature from HW*/
Add space before */, but feel free to do it in followup patch.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
More information about the linux-arm-kernel
mailing list