Commit 5335340d authored by Nam Cao's avatar Nam Cao Committed by Anup Patel
Browse files

platform: starfive: remove redundant compatibility check in pmic_ops



pmic_ops() is only called if a compatible device is found in device
tree. It is redundant for this function to check the compability again.
Remove this check.

Signed-off-by: default avatarNam Cao <namcao@linutronix.de>
Tested-by: default avatarMinda Chen <minda.chen@starfivetech.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 4d8569df
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment