In order to decrement the reference count of module on failures, we must call put_device(module->dev). This was missing for one of the error cases, fix it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> |
||
|---|---|---|
| .. | ||
| Documentation | ||
| .gitignore | ||
| Android.mk | ||
| ap.c | ||
| battery.c | ||
| bundle.c | ||
| bundle.h | ||
| connection.c | ||
| connection.h | ||
| core.c | ||
| debugfs.c | ||
| devices | ||
| es1.c | ||
| es2.c | ||
| gpb.c | ||
| gpio.c | ||
| greybus.h | ||
| greybus_id.h | ||
| greybus_manifest.h | ||
| hid.c | ||
| i2c.c | ||
| interface.c | ||
| interface.h | ||
| kernel_ver.h | ||
| LICENSE | ||
| Makefile | ||
| manifest.c | ||
| manifest.h | ||
| module.c | ||
| module.h | ||
| operation.c | ||
| operation.h | ||
| protocol.c | ||
| protocol.h | ||
| pwm.c | ||
| README | ||
| sdio.c | ||
| spi.c | ||
| svc_msg.h | ||
| uart.c | ||
| usb.c | ||
| vibrator.c | ||
Greybus kernel code To build against the running kernel (odds are you don't want this): make To build against a specific kernel source tree (odds are you want this): KERNELDIR=/home/some/random/place make Any questions / concerns about this code base, please email: Greg Kroah-Hartman <greg@kroah.com>