[PATCHv3 0/6] Some USB gadget cleanups

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

 



From: Michal Nazarewicz <mina86@xxxxxxxxxx>

v2 has the first patch fixed as pointed by Alan.

This patchset remove the following:
- the File-backed Storage Gadget (g_file_storage), and
- is_dualspeed file and line referenced in sysfs.

Once g_file_storage is removed, it also does some cleanup inside of
the storage_common.c file.

Based on top of felipe/gadget
(b100a2f34dc160502bf7d3006cd8294303bbfacb).

Previous version compile tested with allmodconfig on x86_64.

Michal Nazarewicz (6):
  arch: Change defconfigs to point to g_mass_storage.
  usb: gadget: Remove File-backed Storage Gadget (g_file_storage).
  usb: gadget: storage_common: Remove FSG specific definitions.
  usb: gadget: storage_common: Drop #ifdefs used for the sake of FSG.
  usb: gadget: storage_common: Make fsg_lun_is_open() a function.
  usb: gadget: Remove reference to is_dualspeed from sysfs.

 Documentation/DocBook/gadget.tmpl                  |    2 +-
 Documentation/usb/mass-storage.txt                 |   15 +-
 arch/arm/configs/afeb9260_defconfig                |    2 +-
 arch/arm/configs/at91sam9260_defconfig             |    2 +-
 arch/arm/configs/at91sam9261_defconfig             |    2 +-
 arch/arm/configs/at91sam9263_defconfig             |    2 +-
 arch/arm/configs/at91sam9g20_defconfig             |    2 +-
 arch/arm/configs/corgi_defconfig                   |    2 +-
 arch/arm/configs/davinci_all_defconfig             |    2 +-
 arch/arm/configs/h7202_defconfig                   |    3 +-
 arch/arm/configs/magician_defconfig                |    2 +-
 arch/arm/configs/mini2440_defconfig                |    2 +-
 arch/arm/configs/omap1_defconfig                   |    3 +-
 arch/arm/configs/prima2_defconfig                  |    1 -
 arch/arm/configs/spitz_defconfig                   |    2 +-
 arch/arm/configs/stamp9g20_defconfig               |    2 +-
 arch/arm/configs/viper_defconfig                   |    2 +-
 arch/arm/configs/zeus_defconfig                    |    2 +-
 arch/avr32/configs/atngw100_defconfig              |    2 +-
 arch/avr32/configs/atngw100_evklcd100_defconfig    |    2 +-
 arch/avr32/configs/atngw100_evklcd101_defconfig    |    2 +-
 arch/avr32/configs/atngw100_mrmt_defconfig         |    2 +-
 arch/avr32/configs/atngw100mkii_defconfig          |    2 +-
 .../avr32/configs/atngw100mkii_evklcd100_defconfig |    2 +-
 .../avr32/configs/atngw100mkii_evklcd101_defconfig |    2 +-
 arch/avr32/configs/atstk1002_defconfig             |    2 +-
 arch/avr32/configs/atstk1003_defconfig             |    2 +-
 arch/avr32/configs/atstk1004_defconfig             |    2 +-
 arch/avr32/configs/atstk1006_defconfig             |    2 +-
 arch/avr32/configs/favr-32_defconfig               |    2 +-
 arch/avr32/configs/hammerhead_defconfig            |    2 +-
 arch/blackfin/configs/CM-BF527_defconfig           |    2 +-
 arch/blackfin/configs/CM-BF548_defconfig           |    2 +-
 arch/blackfin/configs/CM-BF561_defconfig           |    2 +-
 arch/mips/configs/bcm47xx_defconfig                |    2 +-
 arch/mips/configs/mtx1_defconfig                   |    2 +-
 arch/sh/configs/ecovec24_defconfig                 |    2 +-
 arch/sh/configs/se7724_defconfig                   |    2 +-
 drivers/usb/chipidea/debug.c                       |    3 -
 drivers/usb/gadget/Kconfig                         |   29 +-
 drivers/usb/gadget/Makefile                        |    2 -
 drivers/usb/gadget/f_mass_storage.c                |    4 -
 drivers/usb/gadget/file_storage.c                  | 3656 --------------------
 drivers/usb/gadget/net2280.c                       |    2 +-
 drivers/usb/gadget/pxa27x_udc.h                    |    2 +-
 drivers/usb/gadget/storage_common.c                |  165 +-
 drivers/usb/gadget/udc-core.c                      |   11 -
 47 files changed, 52 insertions(+), 3912 deletions(-)
 delete mode 100644 drivers/usb/gadget/file_storage.c

-- 
1.7.7.3

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux