Commit d32758a
committed
regmap: Don't check for changes in regcache_set_val()
The only user of regcache_set_val() ignores the return value so we may as
well not bother checking if the value we are trying to set is the same as
the value already stored.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230609-regcache-set-val-no-ret-v1-1-9a6932760cf8@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>1 parent bfa0b38 commit d32758a
2 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | 564 | | |
568 | 565 | | |
569 | 566 | | |
570 | 567 | | |
571 | | - | |
| 568 | + | |
572 | 569 | | |
573 | 570 | | |
574 | 571 | | |
| |||
601 | 598 | | |
602 | 599 | | |
603 | 600 | | |
604 | | - | |
605 | 601 | | |
606 | 602 | | |
607 | 603 | | |
| |||
0 commit comments