Skip to content

Commit

Permalink
leds: lm3532: add pointer to documentation and fix typo
Browse files Browse the repository at this point in the history
Add pointer to datasheet and fix typo in printk message.

Signed-off-by: Pavel Machek <[email protected]>
  • Loading branch information
pavelmachek committed Jan 5, 2020
1 parent cf6eb52 commit 31e065c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/leds/leds-lm3532.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
// TI LM3532 LED driver
// Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
// http://www.ti.com/lit/ds/symlink/lm3532.pdf

#include <linux/i2c.h>
#include <linux/leds.h>
Expand Down Expand Up @@ -629,7 +630,7 @@ static int lm3532_parse_node(struct lm3532_data *priv)

led->num_leds = fwnode_property_count_u32(child, "led-sources");
if (led->num_leds > LM3532_MAX_LED_STRINGS) {
dev_err(&priv->client->dev, "To many LED string defined\n");
dev_err(&priv->client->dev, "Too many LED string defined\n");
continue;
}

Expand Down

0 comments on commit 31e065c

Please sign in to comment.