Use the iicdev_[read|write] helper methods. I've extended the patch from
the PR slightly, following the similar changes made to axp209 in
r322025.
PR: 239693
Submitted by: Chuhong Yuan <hslester96@gmail.com>
Differential D28104
allwinner: simplify axp81x read/write mhorne on Jan 11 2021, 10:08 PM. Authored by Tags None Referenced Files
Details
Use the iicdev_[read|write] helper methods. I've extended the patch from PR: 239693 Compile tested. Unfortunately I don't have the hardware to verify.
Diff Detail
Event TimelineComment Actions Mhm, I don't remember if there was a reason I didn't do that or if iicdev_read/write didn't exists at the time. Comment Actions Sounds good, thanks. git history shows that the helper methods were added after this driver. Comment Actions Yeah I remember now. |