From: Amitoj Kaur Chawla <amitoj1606@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH 0/2] staging: sm750fb: Switch to using managed resources
Date: Sun, 28 Feb 2016 21:21:40 +0530 [thread overview]
Message-ID: <cover.1456673895.git.amitoj1606@gmail.com> (raw)
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
next reply other threads:[~2016-02-28 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-28 15:51 Amitoj Kaur Chawla [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1456673895.git.amitoj1606@gmail.com \
--to=amitoj1606@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.