Skip to content

Commit

Permalink
mfd: Define asic3 gpio_chip label
Browse files Browse the repository at this point in the history
Defined the gpio_chip label in the mfd/asic3 driver for diagnostics.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Paul Parsons authored and Samuel Ortiz committed Oct 24, 2011
1 parent c29a812 commit d8e4a88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,7 @@ static int __init asic3_probe(struct platform_device *pdev)
goto out_unmap;
}

asic->gpio.label = "asic3";
asic->gpio.base = pdata->gpio_base;
asic->gpio.ngpio = ASIC3_NUM_GPIOS;
asic->gpio.get = asic3_gpio_get;
Expand Down

0 comments on commit d8e4a88

Please sign in to comment.