All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] staging: sm750fb: Switch to using managed resources
@ 2016-02-28 15:51 Amitoj Kaur Chawla
  2016-02-28 15:51 ` [PATCH 1/2] staging: sm750fb: Replace kzalloc with devm_kzalloc Amitoj Kaur Chawla
  2016-02-28 15:52 ` [PATCH 2/2] staging: sm750fb: Use pcim_enable_device() Amitoj Kaur Chawla
  0 siblings, 2 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2016-02-28 15:51 UTC (permalink / raw)
  To: outreachy-kernel

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(-)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-28 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-28 15:51 [PATCH 0/2] staging: sm750fb: Switch to using managed resources Amitoj Kaur Chawla
2016-02-28 15:51 ` [PATCH 1/2] staging: sm750fb: Replace kzalloc with devm_kzalloc Amitoj Kaur Chawla
2016-02-28 15:52 ` [PATCH 2/2] staging: sm750fb: Use pcim_enable_device() Amitoj Kaur Chawla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.