Commit 590b1d1
committed
rtc: max31335: remove unecessary locking
There is no race condition when accessing MAX31335_STATUS1 because it is
always about clearing the alarm interrupt bit.
Reviewed-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20240115232215.273374-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>1 parent dedaf03 commit 590b1d1
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | 351 | | |
353 | 352 | | |
354 | | - | |
355 | | - | |
356 | 353 | | |
357 | 354 | | |
358 | | - | |
| 355 | + | |
359 | 356 | | |
360 | 357 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
| 358 | + | |
| 359 | + | |
365 | 360 | | |
366 | 361 | | |
367 | 362 | | |
368 | 363 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | 364 | | |
373 | 365 | | |
374 | 366 | | |
| |||
0 commit comments