diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2018-11-20 15:53:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 10:13:37 +0100 |
commit | 4ab0f5ce5f4576c3eb24fe5c788cb755ebdddb0f (patch) | |
tree | cf78dfe2dc9667d0dda7260ad774b25b3c76f390 /drivers/phy/qualcomm/phy-qcom-qusb2.c | |
parent | 187ac53e590c87b9c3f967c601b062393dcd7a73 (diff) | |
download | talos-op-linux-4ab0f5ce5f4576c3eb24fe5c788cb755ebdddb0f.tar.gz talos-op-linux-4ab0f5ce5f4576c3eb24fe5c788cb755ebdddb0f.zip |
staging: vchiq_arm: fix open/release cdev functions
Both functions checked the minor number of the cdev prior running the
code. This was useless since the number of devices is already limited by
alloc_chrdev_region.
This removes the check and reindents the code where relevant.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qusb2.c')
0 files changed, 0 insertions, 0 deletions