diff options
Diffstat (limited to 'drivers/aiodev')
-rw-r--r-- | drivers/aiodev/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/aiodev/core.c b/drivers/aiodev/core.c index 79f935d710..90df8a6e7c 100644 --- a/drivers/aiodev/core.c +++ b/drivers/aiodev/core.c @@ -106,8 +106,6 @@ int aiodevice_register(struct aiodevice *aiodev) aiodev->dev.id = DEVICE_ID_SINGLE; aiodev->name = of_alias_get(aiodev->hwdev->device_node); - if (!aiodev->name) - aiodev->name = aiodev->hwdev->device_node->name; } if (!aiodev->name) { |