diff options
Diffstat (limited to 'drivers/video/backlight/88pm860x_bl.c')
| -rw-r--r-- | drivers/video/backlight/88pm860x_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/88pm860x_bl.c b/drivers/video/backlight/88pm860x_bl.c index 6d8dc2c77520..51e0c4be08df 100644 --- a/drivers/video/backlight/88pm860x_bl.c +++ b/drivers/video/backlight/88pm860x_bl.c | |||
| @@ -174,7 +174,7 @@ static int pm860x_backlight_dt_init(struct platform_device *pdev, | |||
| 174 | return -ENODEV; | 174 | return -ENODEV; |
| 175 | } | 175 | } |
| 176 | for_each_child_of_node(nproot, np) { | 176 | for_each_child_of_node(nproot, np) { |
| 177 | if (!of_node_cmp(np->name, name)) { | 177 | if (of_node_name_eq(np, name)) { |
| 178 | of_property_read_u32(np, "marvell,88pm860x-iset", | 178 | of_property_read_u32(np, "marvell,88pm860x-iset", |
| 179 | &iset); | 179 | &iset); |
| 180 | data->iset = PM8606_WLED_CURRENT(iset); | 180 | data->iset = PM8606_WLED_CURRENT(iset); |
