mbox series

[v5,00/16] Updates for turris-mox-rwtm driver

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

Message

Marek BehĂșn Aug. 31, 2024, 9:20 a.m. UTC
Hi Arnd,

this is v5 of refactors and cleanups for the turris-mox-rwtm driver.
Back on 15th July [1] you said that I should separate bugfixes in
another series, which you already applied. I forgot to send the rest
once 6.11 merge window closed.

So here they are.

Marek

[1] https://lore.kernel.org/soc/4b4785ca-0fba-4227-8186-c5da08d38eb2@app.fastmail.com/

Marek BehĂșn (16):
  firmware: turris-mox-rwtm: Use macro constant 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 sysfs_emit() instead of sprintf()
  firmware: turris-mox-rwtm: Don't create own kobject type
  firmware: turris-mox-rwtm: Simplify debugfs code
  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: 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: Use EOPNOTSUPP instead of ENOSYS
  firmware: turris-mox-rwtm: Use ALIGN() instead of hardcoding
  firmware: turris-mox-rwtm: Deduplicate command execution code

 drivers/firmware/turris-mox-rwtm.c | 380 ++++++++++++-----------------
 1 file changed, 153 insertions(+), 227 deletions(-)