[PATCH 0/2] fpga: dfl: clean up string formatting for sysfs_emit() and dev_dbg()

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

 



The first patch in this series substitutes sysfs_emit() for sprintf()
and scnprintf() to format sysfs values and removes explicit casts in
favour of using the correct printk() format specifiers. The second patch
omits unneeded casts of u64 values to unsigned long long for dev_dbg().

These changes are cosmetic only; no functional changes.

Peter Colberg (2):
  fpga: dfl: use sysfs_emit() to format sysfs values
  fpga: dfl: omit unneeded casts of u64 values for dev_dbg()

 drivers/fpga/dfl-afu-dma-region.c | 14 ++++++--------
 drivers/fpga/dfl-afu-error.c      |  7 +++----
 drivers/fpga/dfl-afu-main.c       | 21 +++++++++------------
 drivers/fpga/dfl-fme-error.c      | 19 ++++++++-----------
 drivers/fpga/dfl-fme-main.c       | 26 ++++++++++----------------
 drivers/fpga/dfl-fme-mgr.c        |  5 ++---
 drivers/fpga/dfl-fme-perf.c       | 16 +++++++---------
 drivers/fpga/dfl.c                |  4 ++--
 drivers/fpga/fpga-bridge.c        |  2 +-
 drivers/fpga/fpga-mgr.c           |  4 ++--
 drivers/fpga/fpga-region.c        |  5 ++---
 11 files changed, 52 insertions(+), 71 deletions(-)

-- 
2.28.0




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux