[PATCH v2 0/2] seq_file, Bluetooth: introduce DEFINE_SHOW_ATTRIBUTE()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux