linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
	Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-nfc@lists.01.org,
	Rikard Falkeborn <rikard.falkeborn@gmail.com>
Subject: [PATCH 0/2] nfc: pn533: Constify ops-structs
Date: Thu,  7 Oct 2021 00:47:36 +0200	[thread overview]
Message-ID: <20211006224738.51354-1-rikard.falkeborn@gmail.com> (raw)

Constify a couple of ops-structs. This allows the compiler to put the
static structs in read-only memory.

Rikard Falkeborn (2):
  nfc: pn533: Constify serdev_device_ops
  nfc: pn533: Constify pn533_phy_ops

 drivers/nfc/pn533/i2c.c   | 2 +-
 drivers/nfc/pn533/pn533.c | 2 +-
 drivers/nfc/pn533/pn533.h | 4 ++--
 drivers/nfc/pn533/uart.c  | 4 ++--
 drivers/nfc/pn533/usb.c   | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.33.0


             reply	other threads:[~2021-10-06 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 22:47 Rikard Falkeborn [this message]
2021-10-06 22:47 ` [PATCH 1/2] nfc: pn533: Constify serdev_device_ops Rikard Falkeborn
2021-10-06 22:47 ` [PATCH 2/2] nfc: pn533: Constify pn533_phy_ops Rikard Falkeborn
2021-10-07 12:40 ` [PATCH 0/2] nfc: pn533: Constify ops-structs patchwork-bot+netdevbpf

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=20211006224738.51354-1-rikard.falkeborn@gmail.com \
    --to=rikard.falkeborn@gmail.com \
    --cc=davem@davemloft.net \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfc@lists.01.org \
    --cc=netdev@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).