Commit 7a5c24d
hwmon: (lm75) Remove superfluous 'client' member from private struct
The regmap-only conversion allows us to store the client-pointer as the
'context' parameter for regmap. This not only makes the private struct
smaller, but also allows proper separation of I2C and I3C in the future.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20241219225522.3490-10-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>1 parent 2b64c6f commit 7a5c24d
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | 108 | | |
110 | | - | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
572 | 570 | | |
573 | 571 | | |
574 | 572 | | |
575 | | - | |
576 | | - | |
| 573 | + | |
| 574 | + | |
577 | 575 | | |
578 | 576 | | |
579 | 577 | | |
| |||
592 | 590 | | |
593 | 591 | | |
594 | 592 | | |
595 | | - | |
596 | | - | |
| 593 | + | |
| 594 | + | |
597 | 595 | | |
598 | 596 | | |
599 | 597 | | |
| |||
645 | 643 | | |
646 | 644 | | |
647 | 645 | | |
648 | | - | |
649 | 646 | | |
650 | 647 | | |
651 | 648 | | |
652 | 649 | | |
653 | 650 | | |
654 | 651 | | |
655 | | - | |
| 652 | + | |
656 | 653 | | |
657 | 654 | | |
658 | 655 | | |
| |||
0 commit comments