X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fspi%2Fspi.c;h=a5f53de813d337bc86fd36ed3b837d299ab11b99;hb=37363bc03e0b53c45e98f34e35c75b55611417e0;hp=3abb3903f2ad454ef964299204bd3c2454890062;hpb=16651fc2f30dfe14dcdd59cf0ccb4e1ccdba4dc7;p=karo-tx-linux.git diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 3abb3903f2ad..a5f53de813d3 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -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) {