u-boot-brain/drivers/core
Peng Fan 4213609cc7 drivers: core: use strcmp when find device by name
`if (!strncmp(dev->name, name, strlen(name)))` might find out
the wrong device, it might find out `dram_pll_ref_sel`, when name is
`dram_pll`. So use strcmp to avoid such issue.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-12 21:07:59 -04:00
..
device-remove.c device: expose the functions used to remove and unbind children of a device 2018-08-21 16:21:37 +02:00
device.c dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL 2018-12-10 06:05:32 +01:00
devres.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dump.c dm: Tidy up 'dm tree' output when there are many devices 2019-01-14 17:47:13 -07:00
fdtaddr.c dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
Kconfig dm: core: Change platform specific translation-offset handling 2019-04-23 20:26:43 -06:00
lists.c dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() 2018-11-14 09:16:27 -08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.c dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_extra.c dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.c core: ofnode: Have ofnode_read_u32_default return a u32 2019-05-21 17:33:23 -06:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.c dm: core: Introduce dev_read_alias_highest_id() 2019-02-08 06:25:32 +01:00
regmap.c regmap: Add endianness support 2018-11-14 09:16:27 -08:00
root.c dm: core: Fix dm_extended_scan_fdt() 2019-05-21 17:33:23 -06:00
simple-bus.c simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver 2019-04-23 20:26:43 -06:00
syscon-uclass.c syscon: update syscon_regmap_lookup_by_phandle 2019-04-11 20:10:05 -06:00
uclass.c drivers: core: use strcmp when find device by name 2019-07-12 21:07:59 -04:00
util.c fdt: Allow indicating a node is for U-Boot proper only 2019-07-10 16:52:58 -06:00