tmp_suning_uos_patched/drivers/of
Benoit Cousson 88af7f58c6 of/base: Take NULL string into account for property with multiple strings
The current implementation just ignore any NULL string inserted in a
multiple strings property.
In some cases we can have a property with a fix number of strings but
not necessarily used, like for example in a list of valid pinmux modes.

 prop = "uart_rx", "uart_tx", "", "", "safe_mode";

Do no skip NULL string and take them into account in
of_property_read_string_index and of_property_count_strings.

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2011-12-19 15:40:11 -06:00
..
address.c of: address: use resource_size helper 2011-08-01 12:55:02 +01:00
base.c of/base: Take NULL string into account for property with multiple strings 2011-12-19 15:40:11 -06:00
device.c dt/powerpc: move of_bus_type infrastructure to ibmebus 2011-02-28 01:36:38 -07:00
fdt.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-11-06 17:12:03 -08:00
gpio.c of/gpio: export of_gpio_simple_xlate 2011-07-28 16:19:22 -06:00
irq.c of/irq: Get rid of NO_IRQ usage 2011-12-07 09:06:37 -08:00
Kconfig pci/of: Match PCI devices to OF nodes dynamically 2011-06-08 09:08:17 +10:00
Makefile pci/of: Match PCI devices to OF nodes dynamically 2011-06-08 09:08:17 +10:00
of_i2c.c of/i2c: Fix request module by alias 2010-12-24 01:28:54 -07:00
of_mdio.c of_mdio: Don't phy_scan_fixups() twice 2011-10-25 06:55:52 +02:00
of_net.c drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required 2011-10-31 19:31:56 -04:00
of_pci_irq.c drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required 2011-10-31 19:31:56 -04:00
of_pci.c of: of_pci.c needs export.h since it uses EXPORT_SYMBOLS 2011-10-31 19:31:14 -04:00
of_spi.c drivers/of: Add module.h to of_spi.c 2011-10-31 19:31:55 -04:00
pdt.c dt: add of_alias_scan and of_alias_get_id 2011-09-22 11:12:10 -06:00
platform.c dt/platform: minor cleanup 2011-11-03 15:49:24 -05:00