Capabilities register is RO and accessed at various places in the driver. Let's cache it in the controller driver's priv struct. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nvme_show.c | ||
nvme-uclass.c | ||
nvme.c | ||
nvme.h |
Capabilities register is RO and accessed at various places in the driver. Let's cache it in the controller driver's priv struct. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nvme_show.c | ||
nvme-uclass.c | ||
nvme.c | ||
nvme.h |