On 02/23/2016 01:21 PM, Evan McClain wrote:
On Tue, 2016-02-23 at 09:43 +0100, Jacek Anaszewski wrote:
On 02/22/2016 05:00 PM, Evan McClain wrote:
+static int keyboard_led_remove(struct platform_device *pdev)
+{
+ struct led_classdev *cdev = platform_get_drvdata(pdev);
+
+ platform_set_drvdata(pdev, NULL);
Empty line here please.
Unless I'm reading things wrong, I don't think keyboard_led_remove is
needed at all.
Indeed, we can remove it.
--
Best regards,
Jacek Anaszewski
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html