commit | daa1dee405d7d3d3e816b84a692e838a5647a02a | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sun Jun 28 17:00:57 2015 +0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jun 30 14:30:34 2015 -0400 |
tree | 112850fd03fa7fedd7d71ee2f547d83dd444fd4b | |
parent | af834d457d9ed69e14836b63d0da198fdd2ec706 [diff] |
nvdimm: Fix return value of nvdimm_bus_init() if class_create() fails Return proper error if class_create() fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>