[PATCH 6.17 323/563] pps: fix warning in pps_register_cdev when register device fail