aboutsummaryrefslogtreecommitdiff
path: root/cds9k-led.c
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-05-09 22:03:46 +1200
committerDavid Phillips <david@yeah.nah.nz>2021-05-09 22:03:46 +1200
commit9de30f1f92924be479dd3ed07a4638e46a83098b (patch)
tree24250cae5392bdd28cefc38bc63b03702f7cd3f1 /cds9k-led.c
parent1bfbf7c584da27d2c194557c64037596b2e134b1 (diff)
downloadcds9k-9de30f1f92924be479dd3ed07a4638e46a83098b.tar.xz
Add maximum register
This allows debug through debugfs
Diffstat (limited to 'cds9k-led.c')
-rw-r--r--cds9k-led.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cds9k-led.c b/cds9k-led.c
index e00429e..3f976cc 100644
--- a/cds9k-led.c
+++ b/cds9k-led.c
@@ -40,11 +40,9 @@ enum led_brightness cds9k_led_brightness_get(struct led_classdev *led_cdev)
static int cds9k_led_probe(struct platform_device *pdev)
{
int ret;
- u32 base;
struct cds9k_led *led;
struct device_node *np = pdev->dev.of_node;
struct led_init_data init_data = {};
- struct fwnode_handle *fwnode;
led = devm_kzalloc(&pdev->dev, sizeof(*led), GFP_KERNEL);
if (!led)