Home
last modified time | relevance | path

Searched hist:"016 c1291" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdoops.c016c1291 Wed Dec 28 09:27:18 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: mtdoops: do not use mtd->panic_write directly

Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()'
and check the error code - '-EOPNOTSUPP' will be returned if the function is
not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
016c1291 Wed Dec 28 09:27:18 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: mtdoops: do not use mtd->panic_write directly

Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()'
and check the error code - '-EOPNOTSUPP' will be returned if the function is
not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/openbmc/linux/include/linux/mtd/
H A Dmtd.h016c1291 Wed Dec 28 09:27:18 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: mtdoops: do not use mtd->panic_write directly

Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()'
and check the error code - '-EOPNOTSUPP' will be returned if the function is
not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
016c1291 Wed Dec 28 09:27:18 CST 2011 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: mtdoops: do not use mtd->panic_write directly

Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()'
and check the error code - '-EOPNOTSUPP' will be returned if the function is
not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>