[PATCH] Fix small typo in dev_name function