diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-08 21:48:03 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-08 14:33:48 -0600 |
commit | a80fd9db0e1909a03e5d5a29e2e73001e38d12f5 (patch) | |
tree | 3ee2f0b20669c647c19eaa5c2b0a01730357836f /drivers/pps/clients | |
parent | 8b20c8cb89b733f5a73fad1f7ad7cff8325e0034 (diff) | |
download | linux-a80fd9db0e1909a03e5d5a29e2e73001e38d12f5.tar.bz2 |
spi/rtc-m41t93: Use spi_get_drvdata() for SPI devices
One new offender detected by the recently increased type checking in
platform_get_drvdata():
drivers/rtc/rtc-m41t93.c: In function ‘m41t93_remove’:
drivers/rtc/rtc-m41t93.c:192: warning: passing argument 1 of ‘platform_get_drvdata’ from incompatible pointer type
Use spi_get_drvdata() instead of platform_get_drvdata(), cfr. commit
42fea15d6dc410e62dac6a764142045280624a5b ("spi/rtc-{ds1390,ds3234,m41t94}:
Use spi_get_drvdata() for SPI devices")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/pps/clients')
0 files changed, 0 insertions, 0 deletions