All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/50] staging: most: rework driver architecture and fix defects
@ 2017-11-21 14:04 Christian Gromm
  2017-11-21 14:04 ` [PATCH 01/50] staging: most: move core files Christian Gromm
                   ` (51 more replies)
  0 siblings, 52 replies; 68+ messages in thread
From: Christian Gromm @ 2017-11-21 14:04 UTC (permalink / raw)
  To: gregkh; +Cc: driverdev-devel, Christian Gromm

This patch set fixes bugs and integrates the driver to the kernel's device
model by revising its architecture. Part of this change is rearranging the
directory layout, renaming of files and folders and thereby creating a
clean driver structure.


Andrey Shvetsov (2):
  staging: most: update driver usage file
  staging: most: core: fix list traversing

Christian Gromm (48):
  staging: most: move core files
  staging: most: cdev: rename module
  staging: most: i2c: rename module
  staging: most: dim2: rename module
  staging: most: net: rename module
  staging: most: sound: rename module
  staging: most: usb: rename module
  staging: most: video: rename module
  staging: most: remove proprietary kobjects
  staging: most: core: remove function get_channel_by_iface
  staging: most: core: add a match function for the bus
  staging: most: core: encapsulate code in function
  staging: most: core: rename structure
  staging: most: core: rename struct most_c_aim_obj to pipe
  staging: most: core: rename struct memeber
  staging: most: core: rename members aim* of struct most_channel
  staging: most: core: use structure to pack driver specific data
  staging: most: core: track aim modules with linked list
  staging: most: core: fix sysfs attribute management
  staging: most: core: remove struct device
  staging: most: core: rename function
  staging: most: core: replace struct most_inst_obj
  staging: most: core: put channel name in struct most_channel
  staging: most: core: remove context pointer
  staging: most: usb: remove pointer initialization
  staging: most: rename struct most_aim
  staging: most: rename functions to register a driver with most_core
  staging: most: core: rename mod_list
  staging: most: core: rename aim variables
  staging: most: core: rename function link_channel_to_aim
  staging: most: net: remove aim designators
  staging: most: sound: remove aim designator
  staging: most: video: remove aim designators
  staging: most: cdev: rename struct aim_channel
  staging: most: cdev: rename variable aim_devno
  staging: most: cdev: rename class instance aim_class
  staging: most: cdev: rename variable cdev_aim
  staging: most: fix comment sections
  staging: most: core: denote modules as components
  staging: most: core: fix formatting
  staging: most: usb: clear functional stall on OUT endpoint
  staging: most: core: fix data type
  staging: most: core: check value returned by match function
  staging: most: cdev: replace function prefix
  staging: most: cdev: bundle module variables in structure
  staging: most: core: remove class generation
  staging: most: add ABI documentation
  staging: most: usb: fix show/store function names

 .../most/Documentation/ABI/sysfs-bus-most.txt      |  313 ++++
 .../staging/most/Documentation/driver_usage.txt    |  192 +-
 drivers/staging/most/Kconfig                       |   27 +-
 drivers/staging/most/Makefile                      |    5 +-
 drivers/staging/most/aim-cdev/Makefile             |    2 +-
 drivers/staging/most/aim-network/Makefile          |    2 +-
 drivers/staging/most/aim-sound/Makefile            |    2 +-
 drivers/staging/most/aim-v4l2/Makefile             |    2 +-
 drivers/staging/most/{aim-cdev => cdev}/Kconfig    |    6 +-
 drivers/staging/most/cdev/Makefile                 |    4 +
 drivers/staging/most/{aim-cdev => cdev}/cdev.c     |  186 +-
 drivers/staging/most/core.c                        | 1609 ++++++++++++++++
 .../staging/most/{mostcore/mostcore.h => core.h}   |   69 +-
 drivers/staging/most/{hdm-dim2 => dim2}/Kconfig    |    6 +-
 drivers/staging/most/dim2/Makefile                 |    4 +
 .../most/{hdm-dim2/dim2_hdm.c => dim2/dim2.c}      |   31 +-
 .../most/{hdm-dim2/dim2_hdm.h => dim2/dim2.h}      |    2 +-
 .../most/{hdm-dim2/dim2_errors.h => dim2/errors.h} |    2 +-
 .../most/{hdm-dim2/dim2_hal.c => dim2/hal.c}       |    8 +-
 .../most/{hdm-dim2/dim2_hal.h => dim2/hal.h}       |    4 +-
 .../most/{hdm-dim2/dim2_reg.h => dim2/reg.h}       |    2 +-
 drivers/staging/most/dim2/sysfs.c                  |   55 +
 .../most/{hdm-dim2/dim2_sysfs.h => dim2/sysfs.h}   |    8 +-
 drivers/staging/most/hdm-dim2/Makefile             |    2 +-
 drivers/staging/most/hdm-dim2/dim2_sysfs.c         |  115 --
 drivers/staging/most/hdm-i2c/Makefile              |    2 +-
 drivers/staging/most/hdm-usb/Makefile              |    2 +-
 drivers/staging/most/{hdm-i2c => i2c}/Kconfig      |    6 +-
 drivers/staging/most/i2c/Makefile                  |    4 +
 .../staging/most/{hdm-i2c/hdm_i2c.c => i2c/i2c.c}  |   11 +-
 drivers/staging/most/mostcore/Kconfig              |   14 -
 drivers/staging/most/mostcore/Makefile             |    3 -
 drivers/staging/most/mostcore/core.c               | 1949 --------------------
 drivers/staging/most/{aim-network => net}/Kconfig  |    6 +-
 drivers/staging/most/net/Makefile                  |    4 +
 .../most/{aim-network/networking.c => net/net.c}   |   51 +-
 drivers/staging/most/{aim-sound => sound}/Kconfig  |    6 +-
 drivers/staging/most/sound/Makefile                |    4 +
 drivers/staging/most/{aim-sound => sound}/sound.c  |   25 +-
 drivers/staging/most/{hdm-usb => usb}/Kconfig      |    7 +-
 drivers/staging/most/usb/Makefile                  |    4 +
 .../staging/most/{hdm-usb/hdm_usb.c => usb/usb.c}  |  264 +--
 drivers/staging/most/{aim-v4l2 => video}/Kconfig   |    6 +-
 drivers/staging/most/video/Makefile                |    4 +
 drivers/staging/most/{aim-v4l2 => video}/video.c   |  159 +-
 45 files changed, 2511 insertions(+), 2678 deletions(-)
 create mode 100644 drivers/staging/most/Documentation/ABI/sysfs-bus-most.txt
 rename drivers/staging/most/{aim-cdev => cdev}/Kconfig (70%)
 create mode 100644 drivers/staging/most/cdev/Makefile
 rename drivers/staging/most/{aim-cdev => cdev}/cdev.c (70%)
 create mode 100644 drivers/staging/most/core.c
 rename drivers/staging/most/{mostcore/mostcore.h => core.h} (86%)
 rename drivers/staging/most/{hdm-dim2 => dim2}/Kconfig (83%)
 create mode 100644 drivers/staging/most/dim2/Makefile
 rename drivers/staging/most/{hdm-dim2/dim2_hdm.c => dim2/dim2.c} (98%)
 rename drivers/staging/most/{hdm-dim2/dim2_hdm.h => dim2/dim2.h} (94%)
 rename drivers/staging/most/{hdm-dim2/dim2_errors.h => dim2/errors.h} (95%)
 rename drivers/staging/most/{hdm-dim2/dim2_hal.c => dim2/hal.c} (99%)
 rename drivers/staging/most/{hdm-dim2/dim2_hal.h => dim2/hal.h} (98%)
 rename drivers/staging/most/{hdm-dim2/dim2_reg.h => dim2/reg.h} (98%)
 create mode 100644 drivers/staging/most/dim2/sysfs.c
 rename drivers/staging/most/{hdm-dim2/dim2_sysfs.h => dim2/sysfs.h} (79%)
 delete mode 100644 drivers/staging/most/hdm-dim2/dim2_sysfs.c
 rename drivers/staging/most/{hdm-i2c => i2c}/Kconfig (72%)
 create mode 100644 drivers/staging/most/i2c/Makefile
 rename drivers/staging/most/{hdm-i2c/hdm_i2c.c => i2c/i2c.c} (98%)
 delete mode 100644 drivers/staging/most/mostcore/Kconfig
 delete mode 100644 drivers/staging/most/mostcore/Makefile
 delete mode 100644 drivers/staging/most/mostcore/core.c
 rename drivers/staging/most/{aim-network => net}/Kconfig (69%)
 create mode 100644 drivers/staging/most/net/Makefile
 rename drivers/staging/most/{aim-network/networking.c => net/net.c} (91%)
 rename drivers/staging/most/{aim-sound => sound}/Kconfig (72%)
 create mode 100644 drivers/staging/most/sound/Makefile
 rename drivers/staging/most/{aim-sound => sound}/sound.c (97%)
 rename drivers/staging/most/{hdm-usb => usb}/Kconfig (77%)
 create mode 100644 drivers/staging/most/usb/Makefile
 rename drivers/staging/most/{hdm-usb/hdm_usb.c => usb/usb.c} (86%)
 rename drivers/staging/most/{aim-v4l2 => video}/Kconfig (71%)
 create mode 100644 drivers/staging/most/video/Makefile
 rename drivers/staging/most/{aim-v4l2 => video}/video.c (76%)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2017-11-27 15:07 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 14:04 [PATCH 00/50] staging: most: rework driver architecture and fix defects Christian Gromm
2017-11-21 14:04 ` [PATCH 01/50] staging: most: move core files Christian Gromm
2017-11-21 14:04 ` [PATCH 02/50] staging: most: cdev: rename module Christian Gromm
2017-11-21 14:04 ` [PATCH 03/50] staging: most: i2c: " Christian Gromm
2017-11-21 14:04 ` [PATCH 04/50] staging: most: dim2: " Christian Gromm
2017-11-21 14:04 ` [PATCH 05/50] staging: most: net: " Christian Gromm
2017-11-21 14:04 ` [PATCH 06/50] staging: most: sound: " Christian Gromm
2017-11-21 14:04 ` [PATCH 07/50] staging: most: usb: " Christian Gromm
2017-11-21 14:04 ` [PATCH 08/50] staging: most: video: " Christian Gromm
2017-11-24 15:08   ` Greg KH
2017-11-21 14:04 ` [PATCH 09/50] staging: most: remove proprietary kobjects Christian Gromm
2017-11-24 15:19   ` Greg KH
2017-11-21 14:04 ` [PATCH 10/50] staging: most: core: remove function get_channel_by_iface Christian Gromm
2017-11-22 10:44   ` Frans Klaver
2017-11-21 14:04 ` [PATCH 11/50] staging: most: core: add a match function for the bus Christian Gromm
2017-11-21 14:04 ` [PATCH 12/50] staging: most: core: encapsulate code in function Christian Gromm
2017-11-21 14:04 ` [PATCH 13/50] staging: most: core: rename structure Christian Gromm
2017-11-21 14:04 ` [PATCH 14/50] staging: most: core: rename struct most_c_aim_obj to pipe Christian Gromm
2017-11-21 14:04 ` [PATCH 15/50] staging: most: core: rename struct memeber Christian Gromm
2017-11-21 14:04 ` [PATCH 16/50] staging: most: core: rename members aim* of struct most_channel Christian Gromm
2017-11-21 14:04 ` [PATCH 17/50] staging: most: core: use structure to pack driver specific data Christian Gromm
2017-11-21 14:04 ` [PATCH 18/50] staging: most: core: track aim modules with linked list Christian Gromm
2017-11-21 14:04 ` [PATCH 19/50] staging: most: core: fix sysfs attribute management Christian Gromm
2017-11-21 14:04 ` [PATCH 20/50] staging: most: core: remove struct device Christian Gromm
2017-11-22 13:01   ` PrasannaKumar Muralidharan
2017-11-24 15:10     ` Greg KH
2017-11-24 15:20       ` Greg KH
2017-11-21 14:04 ` [PATCH 21/50] staging: most: core: rename function Christian Gromm
2017-11-21 14:04 ` [PATCH 22/50] staging: most: core: replace struct most_inst_obj Christian Gromm
2017-11-21 14:04 ` [PATCH 23/50] staging: most: core: put channel name in struct most_channel Christian Gromm
2017-11-21 14:04 ` [PATCH 24/50] staging: most: core: remove context pointer Christian Gromm
2017-11-21 14:04 ` [PATCH 25/50] staging: most: usb: remove pointer initialization Christian Gromm
2017-11-21 14:05 ` [PATCH 26/50] staging: most: rename struct most_aim Christian Gromm
2017-11-22 13:01   ` PrasannaKumar Muralidharan
2017-11-21 14:05 ` [PATCH 27/50] staging: most: rename functions to register a driver with most_core Christian Gromm
2017-11-21 14:05 ` [PATCH 28/50] staging: most: core: rename mod_list Christian Gromm
2017-11-21 14:05 ` [PATCH 29/50] staging: most: core: rename aim variables Christian Gromm
2017-11-21 14:05 ` [PATCH 30/50] staging: most: core: rename function link_channel_to_aim Christian Gromm
2017-11-21 14:05 ` [PATCH 31/50] staging: most: net: remove aim designators Christian Gromm
2017-11-21 14:05 ` [PATCH 32/50] staging: most: sound: remove aim designator Christian Gromm
2017-11-21 14:05 ` [PATCH 33/50] staging: most: video: remove aim designators Christian Gromm
2017-11-21 14:05 ` [PATCH 34/50] staging: most: cdev: rename struct aim_channel Christian Gromm
2017-11-21 14:05 ` [PATCH 35/50] staging: most: cdev: rename variable aim_devno Christian Gromm
2017-11-21 14:05 ` [PATCH 36/50] staging: most: cdev: rename class instance aim_class Christian Gromm
2017-11-21 14:05 ` [PATCH 37/50] staging: most: cdev: rename variable cdev_aim Christian Gromm
2017-11-21 14:05 ` [PATCH 38/50] staging: most: fix comment sections Christian Gromm
2017-11-21 14:05 ` [PATCH 39/50] staging: most: core: denote modules as components Christian Gromm
2017-11-21 14:05 ` [PATCH 40/50] staging: most: core: fix formatting Christian Gromm
2017-11-21 14:05 ` [PATCH 41/50] staging: most: usb: clear functional stall on OUT endpoint Christian Gromm
2017-11-22 13:01   ` PrasannaKumar Muralidharan
2017-11-21 14:05 ` [PATCH 42/50] staging: most: core: fix data type Christian Gromm
2017-11-22 13:02   ` PrasannaKumar Muralidharan
2017-11-24 15:09   ` Greg KH
2017-11-21 14:05 ` [PATCH 43/50] staging: most: core: check value returned by match function Christian Gromm
2017-11-21 14:05 ` [PATCH 44/50] staging: most: update driver usage file Christian Gromm
2017-11-21 14:05 ` [PATCH 45/50] staging: most: cdev: replace function prefix Christian Gromm
2017-11-21 14:05 ` [PATCH 46/50] staging: most: cdev: bundle module variables in structure Christian Gromm
2017-11-21 14:05 ` [PATCH 47/50] staging: most: core: remove class generation Christian Gromm
2017-11-22 13:02   ` PrasannaKumar Muralidharan
2017-11-21 14:05 ` [PATCH 48/50] staging: most: core: fix list traversing Christian Gromm
2017-11-21 14:05 ` [PATCH 49/50] staging: most: add ABI documentation Christian Gromm
2017-11-21 14:05 ` [PATCH 50/50] staging: most: usb: fix show/store function names Christian Gromm
2017-11-22 13:00 ` [PATCH 00/50] staging: most: rework driver architecture and fix defects PrasannaKumar Muralidharan
2017-11-24 15:11   ` Greg KH
2017-11-24 15:31 ` Greg KH
2017-11-24 15:46   ` Christian Gromm
2017-11-27 13:38   ` Christian Gromm
2017-11-27 15:07     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.