commit | 707c171724f6ac157c41b605ce17406ae34a34b4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Apr 30 21:16:59 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Sat Jun 05 07:35:34 2021 -0600 |
tree | 137d750fb9d6d42e7f143fe610309562a2e84495 | |
parent | 0f47d77ca827abc9923ef35777876d6c6cbf8e16 [diff] |
of: addr: Remove call to dev_count_cells() in of_get_address() In of_get_address(), there is: dev_count_cells(dev, &na, &ns); followed by: bus->count_cells(dev, &na, &ns); but no codes in between use na/ns, hence the first call is useless. By dropping the first call, dev_count_cells() is now useless too. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>