Corrected incorrect check of class_device_create() return code validity.
drwxr-xr-x - lincan