Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365a13a5 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'spi/merge' of git://git.secretlab.ca/git/linux-2.6

* 'spi/merge' of git://git.secretlab.ca/git/linux-2.6:
  spi/rtc-m41t93: Use spi_get_drvdata() for SPI devices
  spi/omap2: fix uninitialized variable
parents d21131bb a80fd9db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ static int __devinit m41t93_probe(struct spi_device *spi)

static int __devexit m41t93_remove(struct spi_device *spi)
{
	struct rtc_device *rtc = platform_get_drvdata(spi);
	struct rtc_device *rtc = spi_get_drvdata(spi);

	if (rtc)
		rtc_device_unregister(rtc);
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ omap2_mcspi_txrx_dma(struct spi_device *spi, struct spi_transfer *xfer)
	unsigned int		count, c;
	unsigned long		base, tx_reg, rx_reg;
	int			word_len, data_type, element_count;
	int			elements;
	int			elements = 0;
	u32			l;
	u8			* rx;
	const u8		* tx;