Bug 239695 - [patch] dev/iicbus: Switch to iicdev_readfrom/writeto
Summary: [patch] dev/iicbus: Switch to iicdev_readfrom/writeto
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-08-07 12:58 UTC by Chuhong Yuan
Modified: 2019-08-08 13:42 UTC (History)
0 users

See Also:


Attachments
iicbus patch (2.17 KB, patch)
2019-08-07 12:58 UTC, Chuhong Yuan
no flags Details | Diff
iicbus patch (3.17 KB, patch)
2019-08-07 14:45 UTC, Chuhong Yuan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chuhong Yuan 2019-08-07 12:58:25 UTC
Created attachment 206331 [details]
iicbus patch

Use iicdev_readfrom/writeto to shrink the code size.
Comment 1 Chuhong Yuan 2019-08-07 14:45:03 UTC
Created attachment 206332 [details]
iicbus patch

Also revise sys/dev/iicbus/ds1672.c.