| 2f057261 | 25-Aug-2024 |
Krzysztof Kozlowski <[email protected]> |
soc: versatile: enable compile testing
Enable compile testing for broader build coverage. None of the drivers use anything from "asm", so code should build everywhere. CONFIG_PLAT_VERSATILE is bein
soc: versatile: enable compile testing
Enable compile testing for broader build coverage. None of the drivers use anything from "asm", so code should build everywhere. CONFIG_PLAT_VERSATILE is being selected by driver dependencies (CONFIG_ARCH_INTEGRATOR and CONFIG_ARCH_REALVIEW), so directory can be always added to Makefile targets without impacting other configurations.
Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
show more ...
|
| c774f256 | 25-Aug-2024 |
Krzysztof Kozlowski <[email protected]> |
soc: versatile: realview: fix soc_dev leak during device remove
If device is unbound, the soc_dev should be unregistered to prevent memory leak.
Fixes: a2974c9c1f83 ("soc: add driver for the ARM Re
soc: versatile: realview: fix soc_dev leak during device remove
If device is unbound, the soc_dev should be unregistered to prevent memory leak.
Fixes: a2974c9c1f83 ("soc: add driver for the ARM RealView") Cc: [email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
show more ...
|
| 1c4f26a4 | 25-Aug-2024 |
Krzysztof Kozlowski <[email protected]> |
soc: versatile: realview: fix memory leak during device remove
If device is unbound, the memory allocated for soc_dev_attr should be freed to prevent leaks.
Signed-off-by: Krzysztof Kozlowski <krzy
soc: versatile: realview: fix memory leak during device remove
If device is unbound, the memory allocated for soc_dev_attr should be freed to prevent leaks.
Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
show more ...
|
| be0db32f | 23-May-2020 |
Sudeep Holla <[email protected]> |
soc: integrator: Use custom soc attribute group instead of device_create_file
Commit c31e73121f4c ("base: soc: Handle custom soc information sysfs entries") introduced custom soc attribute group in
soc: integrator: Use custom soc attribute group instead of device_create_file
Commit c31e73121f4c ("base: soc: Handle custom soc information sysfs entries") introduced custom soc attribute group in soc_device_attribute structure but there are no users treewide. While trying to understand the motivation and tried to use it, it was found lot of existing custom attributes can moved to use it instead of device_create_file.
Though most of these never remove/cleanup the custom attribute as they never call soc_device_unregister, using these custom attribute group eliminate the need for any cleanup as the driver infrastructure will take care of that.
Let us remove device_create_file and start using the custom attribute group in soc_device_attribute.
Link: https://lore.kernel.org/r/[email protected] Cc: Linus Walleij <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
show more ...
|
| 99d50b9b | 23-May-2020 |
Sudeep Holla <[email protected]> |
soc: realview: Use custom soc attribute group instead of device_create_file
Commit c31e73121f4c ("base: soc: Handle custom soc information sysfs entries") introduced custom soc attribute group in so
soc: realview: Use custom soc attribute group instead of device_create_file
Commit c31e73121f4c ("base: soc: Handle custom soc information sysfs entries") introduced custom soc attribute group in soc_device_attribute structure but there are no users treewide. While trying to understand the motivation and tried to use it, it was found lot of existing custom attributes can moved to use it instead of device_create_file.
Though most of these never remove/cleanup the custom attribute as they never call soc_device_unregister, using these custom attribute group eliminate the need for any cleanup as the driver infrastructure will take care of that.
Let us remove device_create_file and start using the custom attribute group in soc_device_attribute.
Link: https://lore.kernel.org/r/[email protected] Cc: Linus Walleij <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
show more ...
|