the linux driver probe failed but it reside in memory still.
呆子毛 2011-07-14 09:17:47 Hi all, I has a driver for i2c device, when I register it by insmod i2c_device.ko command, and it failed at probe function,then I return -1, but the i2c_device driver reside in memory still use the lsmod command to see it. now I want to the driver to exit memory, when it probe failed, so how I do it ? thanks!~~~~