All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Some small cleanup for quirks
@ 2017-02-08  1:15 Shawn Lin
  2017-02-08  1:15 ` [PATCH v2 1/5] mmc: core: change quirks.c to be a header file Shawn Lin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Shawn Lin @ 2017-02-08  1:15 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: linux-mmc, Shawn Lin


I just see the we put them everywhere, so the legacy code
should be improved a bit for maintainability, especially for
the sdio quirks case. Just split them into small patches to be
better reviewed but I don't mind to squash them up.:)


Changes in v2:
- add __maybe_unused to make it cleanly compiled standalone
  suggested by Ulf
- add inline for mmc_fixup_device
- move INAND quirks together

Shawn Lin (5):
  mmc: core: change quirks.c to be a header file
  mmc: core: move some sdio IDs out of quirks file
  mmc: core: improve the quirks for sdio devices
  mmc: core: move all quirks together into quirks.h
  mmc: core: add mmc prefix for blk_fixups

 drivers/mmc/core/Makefile    |   2 +-
 drivers/mmc/core/block.c     |  83 +----------------------
 drivers/mmc/core/card.h      |   2 -
 drivers/mmc/core/mmc.c       |  12 +---
 drivers/mmc/core/quirks.c    |  85 ------------------------
 drivers/mmc/core/quirks.h    | 152 +++++++++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/sdio.c      |   3 +-
 include/linux/mmc/sdio_ids.h |   7 ++
 8 files changed, 165 insertions(+), 181 deletions(-)
 delete mode 100644 drivers/mmc/core/quirks.c
 create mode 100644 drivers/mmc/core/quirks.h

-- 
1.9.1



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

end of thread, other threads:[~2017-02-14  8:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08  1:15 [PATCH v2 0/5] Some small cleanup for quirks Shawn Lin
2017-02-08  1:15 ` [PATCH v2 1/5] mmc: core: change quirks.c to be a header file Shawn Lin
2017-02-08 11:15   ` Ulf Hansson
2017-02-10  9:41     ` Shawn Lin
2017-02-14  8:54       ` Ulf Hansson
2017-02-08  1:15 ` [PATCH v2 2/5] mmc: core: move some sdio IDs out of quirks file Shawn Lin
2017-02-08  1:15 ` [PATCH v2 3/5] mmc: core: improve the quirks for sdio devices Shawn Lin
2017-02-08  1:15 ` [PATCH v2 4/5] mmc: core: move all quirks together into quirks.h Shawn Lin
2017-02-08  1:22 ` [PATCH v2 5/5] mmc: core: add mmc prefix for blk_fixups Shawn Lin

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.