Skip to content

Commit

Permalink
Input: adxl34x - fix references to adx134x
Browse files Browse the repository at this point in the history
The adxl34x SPI driver has what appears to be a typo referring to the
device as adx134x with the numeral 1 rather than letter l. This appears
to be an error so convert.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Mark Brown authored and Dmitry Torokhov committed Feb 21, 2011
1 parent 4d1ac94 commit 3dcab3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/misc/adxl34x-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static int adxl34x_spi_read_block(struct device *dev,
return (status < 0) ? status : 0;
}

static const struct adxl34x_bus_ops adx134x_spi_bops = {
static const struct adxl34x_bus_ops adxl34x_spi_bops = {
.bustype = BUS_SPI,
.write = adxl34x_spi_write,
.read = adxl34x_spi_read,
Expand All @@ -77,7 +77,7 @@ static int __devinit adxl34x_spi_probe(struct spi_device *spi)

ac = adxl34x_probe(&spi->dev, spi->irq,
spi->max_speed_hz > MAX_FREQ_NO_FIFODELAY,
&adx134x_spi_bops);
&adxl34x_spi_bops);

if (IS_ERR(ac))
return PTR_ERR(ac);
Expand Down

0 comments on commit 3dcab3b

Please sign in to comment.