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

Commit 98417884 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov
Browse files

Input: tps6507x-ts - add missing call to platform_set_drvdata()



We call platform_get_drvdata() in tps6507x_ts_remove(),
thus we should call platform_set_drvdata() in tps6507x_ts_probe().

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ec1496b3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -335,6 +335,7 @@ static int tps6507x_ts_probe(struct platform_device *pdev)
		dev_err(tsc->dev, "schedule failed");
		goto err2;
	 }
	platform_set_drvdata(pdev, tps6507x_dev);

	return 0;