can: flexcan: remove ack_grp and ack_bit handling from driver
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 14 Jun 2020 19:09:20 +0000 (21:09 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 7 Oct 2020 21:18:33 +0000 (23:18 +0200)
commitd9b081e3fc4bdc33e672dcb7bb256394909432fc
treea96d1a76417cdaa7b7c66bece6d17047292972f3
parente4245bbca91da17c7e8c026d2aecf10687519a2b
can: flexcan: remove ack_grp and ack_bit handling from driver

Since commit:

    048e3a34a2e7 can: flexcan: poll MCR_LPM_ACK instead of GPR ACK for stop mode acknowledgment

the driver polls the IP core's internal bit MCR[LPM_ACK] as stop mode
acknowledge and not the acknowledgment on chip level.

This means the 4th and 5th value of the property "fsl,stop-mode" isn't used
anymore. This patch removes the used "ack_gpr" and "ack_bit" from the driver.

Link: http://lore.kernel.org/r/20201006203748.1750156-15-mkl@pengutronix.de
Fixes: 048e3a34a2e7 ("can: flexcan: poll MCR_LPM_ACK instead of GPR ACK for stop mode acknowledgment")
Cc: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c