MontaVista Davinci Linux 2.6.20 (obtained from git tree source.mvista.com/git/linux-davinci-2.6.gitCVS:) File: drivers/base/class.c Function class_dev_release()
Question: All class devices require a release function. If the class device is defined without a release function by mistake, why does class_dev_release() call the release function of the class to which the class device is attached? Shouldn't it just call WARN_ON()? Basically, why is the "else if (cls->release)" statement there? _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
