• M
    net: ravb: Fix reset GPIO handling · 90997cda
    Marek Vasut 提交于
    Fix handling of the reset GPIO. Drop the _nodev() suffix from the
    gpio_request_by_name() call as there is now a proper DM capable
    GPIO driver. Also check if the GPIO is valid before freeing it in
    remove path, otherwise U-Boot will crash.
    Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
    Cc: Joe Hershberger <joe.hershberger@ni.com>
    Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
    90997cda
ravb.c 16.1 KB