summaryrefslogtreecommitdiff
path: root/drivers/char/xillybus/xillybus_of.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-08-27 19:17:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-14 11:12:56 +0200
commitff8d123f0b0ee774089f70d8e266ecd1371e84e2 (patch)
tree3ceee5f2148cc81c93641a8597f6473741c64fbd /drivers/char/xillybus/xillybus_of.c
parent3e053c44eff5ec5364916a2c63b701d14f3099bf (diff)
char: xillybus: Simplify 'xillybus_init_endpoint()'
Ths first argument of 'xillybus_init_endpoint()' is now useless. Remove it. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/ba687c1eff5dc8f21422323f57164d06f25d4169.1630083668.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/xillybus/xillybus_of.c')
-rw-r--r--drivers/char/xillybus/xillybus_of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/xillybus/xillybus_of.c b/drivers/char/xillybus/xillybus_of.c
index 1a20b286fd1d..4e6e0c19d8c8 100644
--- a/drivers/char/xillybus/xillybus_of.c
+++ b/drivers/char/xillybus/xillybus_of.c
@@ -120,7 +120,7 @@ static int xilly_drv_probe(struct platform_device *op)
if (of_property_read_bool(dev->of_node, "dma-coherent"))
ephw = &of_hw_coherent;
- endpoint = xillybus_init_endpoint(NULL, dev, ephw);
+ endpoint = xillybus_init_endpoint(dev, ephw);
if (!endpoint)
return -ENOMEM;