[PATCH OLK-5.10 2/2] ppdev: Add an error check in register_device