staging: axis-fifo: avoid parsing ignored device tree properties
authorQuentin Deslandes <quentin.deslandes@itdev.co.uk>
Fri, 1 Nov 2019 21:42:50 +0000 (21:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Nov 2019 12:09:01 +0000 (13:09 +0100)
commited6daf2b2832d9b07582a6ff884039afa9063206
treea28ce824e177b4d7ca5dc25f045b72cb96f70e42
parent3bce4750c97d25befd3a7be4de14d58ecd79d420
staging: axis-fifo: avoid parsing ignored device tree properties

Some properties were parsed from the device tree and then ignored by the
driver. Some would return an error if absent from the device tree, then
return an error if they were found because they are unsupported by the
driver.

Avoid parsing unused properties and clearly explain in the documentation
the ignored / unsupported properties.

Signed-off-by: Quentin Deslandes <quentin.deslandes@itdev.co.uk>
Link: https://lore.kernel.org/r/20191101214232.16960-2-quentin.deslandes@itdev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/axis-fifo/axis-fifo.c
drivers/staging/axis-fifo/axis-fifo.txt