Commit c8b0f48
iio: frequency: ad9172: fix incompatible function type cast
Fix -Wcast-function-type-strict thrown by LLVM by explicity defining a
compatible function to disable the clk. On top of that add proper error
handling on devm_add_action_or_reset() call.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>1 parent 972a202 commit c8b0f48
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
353 | 358 | | |
354 | 359 | | |
355 | 360 | | |
356 | | - | |
357 | | - | |
358 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
359 | 364 | | |
360 | 365 | | |
361 | 366 | | |
| |||
398 | 403 | | |
399 | 404 | | |
400 | 405 | | |
401 | | - | |
402 | | - | |
403 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
404 | 409 | | |
405 | 410 | | |
406 | 411 | | |
| |||
0 commit comments