rtac: add error check for misc_register in init
Add error check to validate the return value of misc_register.
Clean up memory on an error to avoid memory leak.
CRs-Fixed: 2204093
Change-Id: I8b94bacdc312fa410a7825c7e25764517469c19b
Signed-off-by:
Vignesh Kulothungan <vigneshk@codeaurora.org>
Loading
Please register or sign in to comment