Remove of_node_get/put in fpga_region_get/put.  Not
needed and will get in the way when I separate out
the common FPGA region code from Device Tree support
code.
Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        }
 
        get_device(dev);
-       of_node_get(dev->of_node);
        if (!try_module_get(dev->parent->driver->owner)) {
-               of_node_put(dev->of_node);
                put_device(dev);
                mutex_unlock(®ion->mutex);
                return ERR_PTR(-ENODEV);
        dev_dbg(dev, "put\n");
 
        module_put(dev->parent->driver->owner);
-       of_node_put(dev->of_node);
        put_device(dev);
        mutex_unlock(®ion->mutex);
 }