patch: new patch pattern misc_deregister_missing.cocci

add missing misc_deregister() on error in {{function}}

Add the missing misc_deregister() before return from
{{function}} in the error handling case.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
patch: new patch pattern misc_deregister_unbalance.cocci

add missing misc_deregister() when module exit

We have register misc device when module init, and
need deregister it when module exit.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>