]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: stmmac: remove unused duplicate property snps,axi_all
authorNiklas Cassel <niklas.cassel@axis.com>
Fri, 30 Dec 2016 12:56:46 +0000 (13:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jan 2017 17:30:26 +0000 (12:30 -0500)
commit31b95c9bdc20663a20b3261303c2a5fc34aae133
tree16ce95432a5da093e35cde90f01704caa42aee0c
parent4b64e1a40c095f82ea6fbf4a0c11143532bb85a5
net: stmmac: remove unused duplicate property snps,axi_all

For core revision 3.x Address-Aligned Beats is available in two registers.
The DT property snps,aal was created for AAL in the DMA bus register,
which is a read/write bit.
The DT property snps,axi_all was created for AXI_AAL in the AXI bus mode
register, which is a read only bit that reflects the value of AAL in the
DMA bus register.

Since the value of snps,axi_all is never used in the driver,
and since the property was created for a bit that is read only,
it should be safe to remove the property.

Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/stmmac.txt
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
include/linux/stmmac.h