raw/cnxk_bphy: use ROC calls for max IRQ get
authorJakub Palider <jpalider@marvell.com>
Fri, 1 Oct 2021 20:19:41 +0000 (22:19 +0200)
committerJerin Jacob <jerinj@marvell.com>
Thu, 7 Oct 2021 11:02:48 +0000 (13:02 +0200)
commit3d1cd3a803b3a8ac8eadf7b9b27de0a90c52ccc7
tree4e722c9c778e59c2bb909bb54cd3766f24d94643
parentbb85a78d2f4c0a3af496cb656fb8fff8e0b01772
raw/cnxk_bphy: use ROC calls for max IRQ get

Maximum interrupt number function used direct access to
structure field while ROC helper exists and serves the
same purpose.

Signed-off-by: Jakub Palider <jpalider@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_bphy_irq.c
drivers/common/cnxk/roc_bphy_irq.h
drivers/common/cnxk/version.map
drivers/raw/cnxk_bphy/cnxk_bphy_irq.c