summaryrefslogtreecommitdiff
path: root/drivers/watchdog/ks8695_wdt.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2012-09-24 20:40:50 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 15:57:38 +0100
commitfc09bbc04ccd7f069c1928a0156968b888393833 (patch)
tree75d7b13a28849caf125cb7cdf82f291dff716907 /drivers/watchdog/ks8695_wdt.c
parent7e74c2d7141e8929049233e28c74cd089f6ae962 (diff)
mtd: nand: split extended ID decoding into its own function
When detecting NAND parameters, the code gets a little ugly so that the logic is obscured. Try to remedy that by moving code to separate functions that have well-defined purposes. This patch splits out the extended ID decode functionality, which handles decoding the 3rd-8th ID bytes to determine NAND device parameters. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/watchdog/ks8695_wdt.c')
0 files changed, 0 insertions, 0 deletions