diff options
| author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2018-11-20 17:53:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 12:13:37 +0300 |
| commit | 4ab0f5ce5f4576c3eb24fe5c788cb755ebdddb0f (patch) | |
| tree | cf78dfe2dc9667d0dda7260ad774b25b3c76f390 /include/linux/platform_data | |
| parent | 187ac53e590c87b9c3f967c601b062393dcd7a73 (diff) | |
| download | linux-4ab0f5ce5f4576c3eb24fe5c788cb755ebdddb0f.tar.xz | |
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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
