
<     simple_recursive_removal(dir, NULL);
---
>     if (dir)
>         simple_recursive_removal(dir, NULL);
>     else
>         pr_err("Error: dir is NULL in remove_device_files\n");
