On Mon, Jun 24, 2019 at 12:35:03AM +0200, Marek Vasut wrote: > The indirect function call to dev->dev_ops->get_port_addr() is expensive > especially if called for every single register access, and only returns > the value of PORT_CTRL_ADDR() macro. Use PORT_CTRL_ADDR() macro directly > instead.
Hi Marek Rather than change just one instance, it would be better to change them all. And then remove dev_ops->get_port_addr(). Andrew