freebsd_amp_hwpstate/sys/dev/fdt
Oleksandr Tymoshenko bc90a48ccf Add OF_prop_free function as a counterpart for OF_*prop_alloc
- Introduce new OF API function OF_prop_free to free memory allocated by
  OF_getprop_alloc and OF_getencprop_alloc. Current code just calls free(9)
  with M_OFWPROP memory class which assumes knowledge about OF_*prop_alloc
  functions' internals and leads to unneccessary code coupling

- Convert some of the free(..., M_OFWPROP) instances to OF_prop_free

Files affected by this commit are the ones I was able to test on real
hardware. The rest of free(..., M_OFWPROP) instances will be handled with
idividual maintainers

Reviewed by:	andrew
Differential Revision:	https://reviews.freebsd.org/D6315
2016-05-11 18:20:02 +00:00
..
fdt_arm_platform.c
fdt_clock.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_clock.h
fdt_clock_if.m
fdt_common.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_common.h
fdt_pinctrl.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_pinctrl.h
fdt_pinctrl_if.m
fdt_powerpc.c
fdt_slicer.c
fdt_static_dtb.S
simplebus.c
simplebus.h