can:ipms_can: Driver code optimization
authorClivia.Cai <Clivia.Cai@starfivetech.com>
Sun, 24 Apr 2022 06:15:25 +0000 (23:15 -0700)
committerClivia.Cai <Clivia.Cai@starfivetech.com>
Sun, 24 Apr 2022 10:25:45 +0000 (03:25 -0700)
commite860dbcd5dbeda33caabc80a2acbcfd1b10d31b1
tree00160856bf50685ee10e3c376b11119e21292277
parentc0b2d887f8b268799a6612cfa8d72ec79ee26ee3
can:ipms_can: Driver code optimization

Use the syscon framework to manage the syscon registers.

In addition, Use devm_reset_control_array_get_exclusive API to manage a list of reset controllers

Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
drivers/net/can/ipms_canfd.c