Repository navigation
Commit c7ef144
committed
platform/x86: hp-wmi: Cleanup wireless get_(hw|sw)state functions
Use the new hp_wmi_read_int() function and add a WARN_ONCE() to the TBD
regarding passing the error through. These are used in a null return
function unfortunately.
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Tested-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>1 parent ea621d9 commit c7ef144
1 file changed
Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | 346 | | |
348 | | - | |
349 | | - | |
350 | | - | |
| 347 | + | |
| 348 | + | |
351 | 349 | | |
| 350 | + | |
352 | 351 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 352 | + | |
357 | 353 | | |
358 | 354 | | |
359 | 355 | | |
360 | 356 | | |
361 | 357 | | |
362 | | - | |
363 | 358 | | |
364 | | - | |
365 | | - | |
366 | | - | |
| 359 | + | |
| 360 | + | |
367 | 361 | | |
| 362 | + | |
368 | 363 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 364 | + | |
373 | 365 | | |
374 | 366 | | |
375 | 367 | | |
| |||
0 commit comments