Commit 6e3b29d
mfd: lpc_ich: Factor out lpc_ich_enable_spi_write()
Factor out duplicate code to lpc_ich_enable_spi_write() helper function.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Henning Schild <henning.schild@siemens.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>1 parent c551bd8 commit 6e3b29d
1 file changed
Lines changed: 14 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
| 1103 | + | |
1104 | 1104 | | |
1105 | | - | |
1106 | 1105 | | |
1107 | 1106 | | |
1108 | | - | |
| 1107 | + | |
1109 | 1108 | | |
1110 | 1109 | | |
1111 | | - | |
1112 | | - | |
| 1110 | + | |
| 1111 | + | |
1113 | 1112 | | |
1114 | 1113 | | |
1115 | 1114 | | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | | - | |
| 1117 | + | |
1119 | 1118 | | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
| 1119 | + | |
1123 | 1120 | | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
| 1121 | + | |
| 1122 | + | |
1130 | 1123 | | |
1131 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1132 | 1129 | | |
1133 | 1130 | | |
1134 | 1131 | | |
| |||
1185 | 1182 | | |
1186 | 1183 | | |
1187 | 1184 | | |
1188 | | - | |
| 1185 | + | |
1189 | 1186 | | |
1190 | 1187 | | |
1191 | 1188 | | |
| |||
0 commit comments