Skip to content

staging: sm750fb: Switch to using managed resources

Amitoj Kaur Chawla outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: sm750fb: Replace kzalloc with devm_kzallocdrivers/staging/sm750fb/sm750.c+2 -50 replies
2/2staging: sm750fb: Use pcim_enable_device()drivers/staging/sm750fb/sm750.c+2 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] staging: sm750fb: Switch to using managed resources

This patchset uses devres API to switch to managed resources in the sm750fb driver.

Convert the driver to use devm_kzalloc and pcim_enable_device instead of kzalloc and pci_enable_device respectively.

Amitoj Kaur Chawla (2):
staging: sm750fb: Replace kzalloc with devm_kzalloc
staging: sm750fb: Use pcim_enable_device()

 drivers/staging/sm750fb/sm750.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
Signature · 1 line
1.9.1