Skip to content
Commit 2779f472 authored by Marek Behún's avatar Marek Behún Committed by Pavel Machek
Browse files

leds: various: use device_get_match_data



Simply use device_get_match_data instead of matching against the match
table again.

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Cc: H. Nikolaus Schaller <hns@goldelico.com>
Cc: David Rivshin <drivshin@allworx.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Christian Mauderer <oss@c-mauderer.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 2aebb780
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment