]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: pch_udc: don't free devm allocated memory
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 18 Apr 2016 09:57:15 +0000 (12:57 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 19 Apr 2016 08:11:56 +0000 (11:11 +0300)
commit097aa1975e9a5b189d4c6fbc95c0f97e2c49c01e
treea19b8dcb46d4fb5b3560b60ba34dfd9cce902831
parentf78bbcae86e676fad9e6c6bb6cd9d9868ba23696
usb: gadget: pch_udc: don't free devm allocated memory

Coccinelle caught this instance of us kfree()ing
devm-allocated memory. The solution is just to not
do anything in our gadget_release.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/pch_udc.c