mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-01 14:52:32 +00:00
Input: gpio_decoder - drop unnecessary call to platform_set_drvdata
There is no call to platform_get_drvdata() or dev_get_drvdata(). Drop the unnecessary call to platform_set_drvdata(). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
0265c324b8
commit
a196b2c9f5
@ -110,7 +110,6 @@ static int gpio_decoder_probe(struct platform_device *pdev)
|
||||
dev_err(dev, "failed to register polled device\n");
|
||||
return err;
|
||||
}
|
||||
platform_set_drvdata(pdev, decoder);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user