]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ac9010a21d6135446bbd60308a4534979a194d0
treea28ce824e177b4d7ca5dc25f045b72cb96f70e42
parenta6f8f1cde4941e0470b02db2498a270306e6e5c8
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