[RFC PATCH 0/2] Replace the static array with the list

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

 



These patches replace the fixed-size, static array used to keep track
of board structures with dynamic solution based on the list. I marked
this series as RFC since I need input on if this can be done better.

Konrad Zapalowicz (2):
  staging: dgnc: Make the struct dgnc_board possible to use list
    facility
  staging: dgnc: Replace fixed-size board array with list

 drivers/staging/dgnc/dgnc_driver.c | 57 ++++++++++++++++++--------------------
 drivers/staging/dgnc/dgnc_driver.h |  4 +--
 drivers/staging/dgnc/dgnc_mgmt.c   | 49 +++++++++++++++++++-------------
 drivers/staging/dgnc/dgnc_sysfs.c  |  8 +++++-
 drivers/staging/dgnc/dgnc_utils.c  | 18 ++++++++++++
 drivers/staging/dgnc/dgnc_utils.h  |  1 +
 6 files changed, 85 insertions(+), 52 deletions(-)

-- 
1.8.1.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux