Repository navigation
Commit fe61e07
Jean Delvare
i2c: Move adapter locking helpers to i2c-core
Uninline i2c adapter locking helper functions, move them to i2c-core,
and use them in i2c-core itself. The functions are still exported for
external users. This makes future updates to the locking model (which
will be needed for multiplexing support) possible and transparent.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Michael Lawnick <ml.lawnick@gmx.de>1 parent d44f19d commit fe61e07
2 files changed
Lines changed: 37 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
432 | 461 | | |
433 | 462 | | |
434 | 463 | | |
| |||
1238 | 1267 | | |
1239 | 1268 | | |
1240 | 1269 | | |
1241 | | - | |
| 1270 | + | |
1242 | 1271 | | |
1243 | 1272 | | |
1244 | 1273 | | |
1245 | 1274 | | |
1246 | | - | |
| 1275 | + | |
1247 | 1276 | | |
1248 | 1277 | | |
1249 | 1278 | | |
| |||
1255 | 1284 | | |
1256 | 1285 | | |
1257 | 1286 | | |
1258 | | - | |
| 1287 | + | |
1259 | 1288 | | |
1260 | 1289 | | |
1261 | 1290 | | |
| |||
2013 | 2042 | | |
2014 | 2043 | | |
2015 | 2044 | | |
2016 | | - | |
| 2045 | + | |
2017 | 2046 | | |
2018 | 2047 | | |
2019 | 2048 | | |
| |||
2027 | 2056 | | |
2028 | 2057 | | |
2029 | 2058 | | |
2030 | | - | |
| 2059 | + | |
2031 | 2060 | | |
2032 | 2061 | | |
2033 | 2062 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
402 | 388 | | |
403 | 389 | | |
404 | 390 | | |
| |||
0 commit comments