]> Pileus Git - ~andy/linux/commit
usb: gadget: s3c-hsotg: Fix invalid free of devm_ allocated data
authorTushar Behera <tushar.behera@linaro.org>
Thu, 22 Nov 2012 08:25:16 +0000 (13:55 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:42 +0000 (11:58 +0200)
commit69f5165ebef1d90bd58e9ce5db018218ea4d089c
tree3a26ca9d1166c6e243b621e944c86dc2873cd85e
parentc1a96ebd315f82fa0f47adce264adb126cf72764
usb: gadget: s3c-hsotg: Fix invalid free of devm_ allocated data

Since hsotg object is allocated using devm_kzalloc() API, there is no
need to free this explicitly. But we need to keep the release API to
prevent warnings.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c