Merge tag 'v4.3-rc1' into spi-fix-doc
authorMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 19:44:25 +0000 (20:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 19:44:25 +0000 (20:44 +0100)
Linux 4.3-rc1

drivers/spi/spi.c

index 3abb390..a5f53de 100644 (file)
@@ -1610,8 +1610,7 @@ static struct class spi_master_class = {
  *
  * The caller is responsible for assigning the bus number and initializing
  * the master's methods before calling spi_register_master(); and (after errors
- * adding the device) calling spi_master_put() and kfree() to prevent a memory
- * leak.
+ * adding the device) calling spi_master_put() to prevent a memory leak.
  */
 struct spi_master *spi_alloc_master(struct device *dev, unsigned size)
 {