diff options
author | David S. Miller <davem@davemloft.net> | 2013-01-15 15:05:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-15 15:05:59 -0500 |
commit | 4b87f922598acf91eee18f71688a33f54f57bcde (patch) | |
tree | 9cdfe30c6b96c47093da5392ed82d147290cd64c /drivers/iio/dac/ad5755.c | |
parent | 55eb555d9674e2ebe9d4de0146602f96ff18e7d6 (diff) | |
parent | daf3ec688e057f6060fb9bb0819feac7a8bbf45c (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
Documentation/networking/ip-sysctl.txt
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
Both conflicts were simply overlapping context.
A build fix for qlcnic is in here too, simply removing the added
devinit annotations which no longer exist.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/iio/dac/ad5755.c')
-rw-r--r-- | drivers/iio/dac/ad5755.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/iio/dac/ad5755.c b/drivers/iio/dac/ad5755.c index 5db3506034c5..0869bbd27d30 100644 --- a/drivers/iio/dac/ad5755.c +++ b/drivers/iio/dac/ad5755.c | |||
@@ -447,8 +447,8 @@ static bool ad5755_is_valid_mode(struct ad5755_state *st, enum ad5755_mode mode) | |||
447 | } | 447 | } |
448 | } | 448 | } |
449 | 449 | ||
450 | static int __devinit ad5755_setup_pdata(struct iio_dev *indio_dev, | 450 | static int ad5755_setup_pdata(struct iio_dev *indio_dev, |
451 | const struct ad5755_platform_data *pdata) | 451 | const struct ad5755_platform_data *pdata) |
452 | { | 452 | { |
453 | struct ad5755_state *st = iio_priv(indio_dev); | 453 | struct ad5755_state *st = iio_priv(indio_dev); |
454 | unsigned int val; | 454 | unsigned int val; |
@@ -503,7 +503,7 @@ static int __devinit ad5755_setup_pdata(struct iio_dev *indio_dev, | |||
503 | return 0; | 503 | return 0; |
504 | } | 504 | } |
505 | 505 | ||
506 | static bool __devinit ad5755_is_voltage_mode(enum ad5755_mode mode) | 506 | static bool ad5755_is_voltage_mode(enum ad5755_mode mode) |
507 | { | 507 | { |
508 | switch (mode) { | 508 | switch (mode) { |
509 | case AD5755_MODE_VOLTAGE_0V_5V: | 509 | case AD5755_MODE_VOLTAGE_0V_5V: |
@@ -516,8 +516,8 @@ static bool __devinit ad5755_is_voltage_mode(enum ad5755_mode mode) | |||
516 | } | 516 | } |
517 | } | 517 | } |
518 | 518 | ||
519 | static int __devinit ad5755_init_channels(struct iio_dev *indio_dev, | 519 | static int ad5755_init_channels(struct iio_dev *indio_dev, |
520 | const struct ad5755_platform_data *pdata) | 520 | const struct ad5755_platform_data *pdata) |
521 | { | 521 | { |
522 | struct ad5755_state *st = iio_priv(indio_dev); | 522 | struct ad5755_state *st = iio_priv(indio_dev); |
523 | struct iio_chan_spec *channels = st->channels; | 523 | struct iio_chan_spec *channels = st->channels; |
@@ -562,7 +562,7 @@ static const struct ad5755_platform_data ad5755_default_pdata = { | |||
562 | }, | 562 | }, |
563 | }; | 563 | }; |
564 | 564 | ||
565 | static int __devinit ad5755_probe(struct spi_device *spi) | 565 | static int ad5755_probe(struct spi_device *spi) |
566 | { | 566 | { |
567 | enum ad5755_type type = spi_get_device_id(spi)->driver_data; | 567 | enum ad5755_type type = spi_get_device_id(spi)->driver_data; |
568 | const struct ad5755_platform_data *pdata = dev_get_platdata(&spi->dev); | 568 | const struct ad5755_platform_data *pdata = dev_get_platdata(&spi->dev); |
@@ -614,7 +614,7 @@ error_free: | |||
614 | return ret; | 614 | return ret; |
615 | } | 615 | } |
616 | 616 | ||
617 | static int __devexit ad5755_remove(struct spi_device *spi) | 617 | static int ad5755_remove(struct spi_device *spi) |
618 | { | 618 | { |
619 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 619 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
620 | 620 | ||
@@ -640,7 +640,7 @@ static struct spi_driver ad5755_driver = { | |||
640 | .owner = THIS_MODULE, | 640 | .owner = THIS_MODULE, |
641 | }, | 641 | }, |
642 | .probe = ad5755_probe, | 642 | .probe = ad5755_probe, |
643 | .remove = __devexit_p(ad5755_remove), | 643 | .remove = ad5755_remove, |
644 | .id_table = ad5755_id, | 644 | .id_table = ad5755_id, |
645 | }; | 645 | }; |
646 | module_spi_driver(ad5755_driver); | 646 | module_spi_driver(ad5755_driver); |