Re: [PATCH] spi/rtc-m41t93: Use spi_get_drvdata() for SPI devices

From: Grant Likely
Date: Wed Jun 08 2011 - 16:34:19 EST


On Wed, Jun 08, 2011 at 09:48:03PM +0200, Geert Uytterhoeven wrote:
> 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

Applied, thanks.

g.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/