[PATCH OLK-6.6 392/717] ppdev: Add an error check in register_device