Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f45ce7ee authored by Matthias Brugger's avatar Matthias Brugger Committed by Eduardo Valentin
Browse files

thermal: mtk: Cleanup unused defines



The mtk_thermal has some defiens which are never used within the driver.
This patch delets them.

Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 4e5f61ca
Loading
Loading
Loading
Loading
+1 −8
Original line number Original line Diff line number Diff line
@@ -32,15 +32,10 @@
#include <linux/types.h>
#include <linux/types.h>


/* AUXADC Registers */
/* AUXADC Registers */
#define AUXADC_CON0_V		0x000
#define AUXADC_CON1_V		0x004
#define AUXADC_CON1_SET_V	0x008
#define AUXADC_CON1_SET_V	0x008
#define AUXADC_CON1_CLR_V	0x00c
#define AUXADC_CON1_CLR_V	0x00c
#define AUXADC_CON2_V		0x010
#define AUXADC_CON2_V		0x010
#define AUXADC_DATA(channel)	(0x14 + (channel) * 4)
#define AUXADC_DATA(channel)	(0x14 + (channel) * 4)
#define AUXADC_MISC_V		0x094

#define AUXADC_CON1_CHANNEL(x)	BIT(x)


#define APMIXED_SYS_TS_CON1	0x604
#define APMIXED_SYS_TS_CON1	0x604


@@ -158,8 +153,6 @@
/* The number of sensing points per bank */
/* The number of sensing points per bank */
#define MT2712_NUM_SENSORS_PER_ZONE	4
#define MT2712_NUM_SENSORS_PER_ZONE	4


#define THERMAL_NAME    "mtk-thermal"

struct mtk_thermal;
struct mtk_thermal;


struct thermal_bank_cfg {
struct thermal_bank_cfg {
@@ -765,7 +758,7 @@ static struct platform_driver mtk_thermal_driver = {
	.probe = mtk_thermal_probe,
	.probe = mtk_thermal_probe,
	.remove = mtk_thermal_remove,
	.remove = mtk_thermal_remove,
	.driver = {
	.driver = {
		.name = THERMAL_NAME,
		.name = "mtk-thermal",
		.of_match_table = mtk_thermal_of_match,
		.of_match_table = mtk_thermal_of_match,
	},
	},
};
};