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

Commit 520d8267 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Dmitry Torokhov
Browse files

Input: ti_am335x_tsc - use variable name for sizeof() operator



Fix the code formatting to use the kernel preferred style
of using the actual variables to determize the size using
the sizeof() operator.

Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 0fd80a77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ static int titsc_probe(struct platform_device *pdev)
	int err;

	/* Allocate memory for device */
	ts_dev = kzalloc(sizeof(struct titsc), GFP_KERNEL);
	ts_dev = kzalloc(sizeof(*ts_dev), GFP_KERNEL);
	input_dev = input_allocate_device();
	if (!ts_dev || !input_dev) {
		dev_err(&pdev->dev, "failed to allocate memory.\n");