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

Commit 556a460e authored by Christoph Egger's avatar Christoph Egger Committed by Eric Miao
Browse files

[ARM] pxa: removing dead CORGI_SSP_DEPRECATED



CORGI_SSP_DEPRECATED doesn't exist in Kconfig, therefore removing all
references for it from the source code.

Signed-off-by: default avatarChristoph Egger <siccegge@cs.fau.de>
Acked-by: default avatarKristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 8ae807c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -682,7 +682,6 @@ config SHARPSL_PM

config SHARPSL_PM_MAX1111
	bool
	depends on !CORGI_SSP_DEPRECATED
	select HWMON
	select SENSORS_MAX1111

+0 −5
Original line number Diff line number Diff line
@@ -180,17 +180,12 @@ int sharpsl_pm_pxa_read_max1111(int channel)
	if (machine_is_tosa())
	    return 0;

#ifdef CONFIG_CORGI_SSP_DEPRECATED
	return corgi_ssp_max1111_get((channel << MAXCTRL_SEL_SH) | MAXCTRL_PD0 | MAXCTRL_PD1
			| MAXCTRL_SGL | MAXCTRL_UNI | MAXCTRL_STR);
#else
	extern int max1111_read_channel(int);

	/* max1111 accepts channels from 0-3, however,
	 * it is encoded from 0-7 here in the code.
	 */
	return max1111_read_channel(channel >> 1);
#endif
}

static int get_percentage(int voltage)