Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
niu: read property length only if we use it
In three places, the driver calls of_get_property and reads the property length although the length is not used. Update the calls to not request the length. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information