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

Commit a9c4055d authored by Mark Brown's avatar Mark Brown Committed by Lee Jones
Browse files

mfd: stmpe: Staticise stmpe_of_probe()



It is only called from this file so there is no need for it to be in the
global namespace and cause sparse to warn.

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 334a41ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1106,7 +1106,8 @@ static int stmpe_devices_init(struct stmpe *stmpe)
	return ret;
}

void stmpe_of_probe(struct stmpe_platform_data *pdata, struct device_node *np)
static void stmpe_of_probe(struct stmpe_platform_data *pdata,
			   struct device_node *np)
{
	struct device_node *child;