linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	linux-bluetooth@vger.kernel.org,
	"David S . Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org, Randy Dunlap <rdunlap@infradead.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH v2 0/2] seq_file, Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE()
Date: Thu, 23 Nov 2017 22:36:03 +0200	[thread overview]
Message-ID: <20171123203605.44954-1-andriy.shevchenko@linux.intel.com> (raw)

Introduce a helper macro for attributes that have only ->show() defined.

P.S. I have few more clean ups locally, thus it would be nice to have an
immutable branch for the rest patches which would like to utilize the new
macro.

In v2:
- introduce for all users followed by an example clean up of hci_debugfs.c

Andy Shevchenko (2):
  seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper macro
  Bluetooth: Re-use DEFINE_SHOW_ATTRIBUTE() macro

 include/linux/seq_file.h    |  13 +++
 net/bluetooth/hci_debugfs.c | 193 ++++----------------------------------------
 2 files changed, 29 insertions(+), 177 deletions(-)

-- 
2.15.0

             reply	other threads:[~2017-11-23 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 20:36 Andy Shevchenko [this message]
2017-11-23 20:36 ` [PATCH v2 1/2] seq_file: Introduce DEFINE_SHOW_ATTRIBUTE() helper macro Andy Shevchenko
2017-11-28  8:43   ` Marcel Holtmann
2017-11-28 12:19     ` Andy Shevchenko
2017-12-13 15:38       ` Andy Shevchenko
2017-11-23 20:36 ` [PATCH v2 2/2] Bluetooth: Re-use DEFINE_SHOW_ATTRIBUTE() macro Andy Shevchenko

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=20171123203605.44954-1-andriy.shevchenko@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=rdunlap@infradead.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).