diff options
author | NeilBrown <neilb@suse.com> | 2016-03-09 09:21:54 +1100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-03-09 11:31:34 -0800 |
commit | 55155291b32d24371256adbcc67f9f53cf3f314f (patch) | |
tree | c5ff7bdc93a893e56a2c80ed6d6ca1ac58da886a /drivers/mfd/wm8998-tables.c | |
parent | af1996ef59dbcb36fe4878df7c717a02eb89d07a (diff) |
pmem: don't allocate unused major device number
When alloc_disk(0) or alloc_disk-node(0, XX) is used, the ->major
number is completely ignored: all devices are allocated with a
major of BLOCK_EXT_MAJOR.
So there is no point allocating pmem_major.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/mfd/wm8998-tables.c')
0 files changed, 0 insertions, 0 deletions