Closed ghost closed 8 years ago
You've improved maintainability, but now lost consistency with the other two driver files. Mind updating the device_type function in razerkbd and razerfirefly?
I've updated razerkbd in the same fashion. The razerfirefly driver currently always returns "Razer Firefly\n" for device type, though I suppose it could return the result of sprintf directly instead of first assigning to write_count for increased consistency with the other attribute read functions.
Device type string length is now properly returned on read.