mbox series

[00/19] Updates for turris-mox-rwtm driver

Message ID 20240612135443.30239-1-kabel@kernel.org (mailing list archive)
Headers show
Series Updates for turris-mox-rwtm driver | expand

Message

Marek Behún June 12, 2024, 1:54 p.m. UTC
Hi Gregory, Arnd, Andy et al.

this is a series of fixes, refactors and cleanups for the
turris-mox-rwtm driver.

Marek

Marek Behún (19):
  firmware: turris-mox-rwtm: Do not complete if there are no waiters
  firmware: turris-mox-rwtm: Fix checking return value of
    wait_for_completion_timeout()
  firmware: turris-mox-rwtm: Use PAGE_SIZE instead of hardcoded 4096
  firmware: turris-mox-rwtm: Use ETH_ALEN instead of hardcoded 6
  firmware: turris-mox-rwtm: Use the boolean type where appropriate
  firmware: turris-mox-rwtm: Hide signature related constants behind
    macros
  firmware: turris-mox-rwtm: Fix driver includes
  firmware: turris-mox-rwtm: Use kobj_type's default_groups member for
    automatic sysfs files creation
  firmware: turris-mox-rwtm: Simplify debugfs code
  firmware: turris-mox-rwtm: Simplify driver kobject code
  firmware: turris-mox-rwtm: Return true error code if kobject_add()
    fails
  firmware: turris-mox-rwtm: Convert rest to devm_* and get rid of
    driver .remove()
  firmware: turris-mox-rwtm: Use dev_err_probe() where possible
  firmware: turris-mox-rwtm: Rearrange probe calls
  firmware: turris-mox-rwtm: Drop redundant device pointer
  firmware: turris-mox-rwtm: Use devm_mutex_init() instead of
    mutex_init()
  firmware: turris-mox-rwtm: Use container_of() instead of hwrng .priv
    member
  firmware: turris-mox-rwtm: Deduplicate command execution code
  firmware: turris-mox-rwtm: Use EOPNOTSUPP instead of ENOSYS

 drivers/firmware/turris-mox-rwtm.c | 390 +++++++++++++----------------
 1 file changed, 172 insertions(+), 218 deletions(-)