linux-stable/drivers/hwtracing/coresight
Linus Torvalds e70140ba0d Get rid of 'remove_new' relic from platform driver struct
The continual trickle of small conversion patches is grating on me, and
is really not helping.  Just get rid of the 'remove_new' member
function, which is just an alias for the plain 'remove', and had a
comment to that effect:

  /*
   * .remove_new() is a relic from a prototype conversion of .remove().
   * New drivers are supposed to implement .remove(). Once all drivers are
   * converted to not use .remove_new any more, it will be dropped.
   */

This was just a tree-wide 'sed' script that replaced '.remove_new' with
'.remove', with some care taken to turn a subsequent tab into two tabs
to make things line up.

I did do some minimal manual whitespace adjustment for places that used
spaces to line things up.

Then I just removed the old (sic) .remove_new member function, and this
is the end result.  No more unnecessary conversion noise.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-12-01 15:12:43 -08:00
..
coresight-catu.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-catu.h coresight: catu: Move ACPI support from AMBA driver to platform driver 2024-04-16 11:30:44 +01:00
coresight-cfg-afdo.c coresight: Fix undeclared variable warnings from sparse checker 2024-02-12 10:18:41 +00:00
coresight-cfg-preload.c coresight: configuration: Update API to introduce load owner concept 2021-11-26 11:27:21 -07:00
coresight-cfg-preload.h coresight: config: Add preloaded configurations 2021-08-18 22:33:28 +02:00
coresight-config.c coresight: config: Add configuration and feature generic functions 2021-08-18 22:33:27 +02:00
coresight-config.h coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-core.c coresight: Make trace ID map spinlock local to the map 2024-08-20 15:02:38 +01:00
coresight-cpu-debug.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-cti-core.c ARM: 9371/1: coresight: cti: drop owner assignment 2024-04-18 12:09:22 +01:00
coresight-cti-platform.c coresight: cti: use device_* to iterate over device child nodes 2024-08-19 15:31:37 +01:00
coresight-cti-sysfs.c coresight: Fix CTI module refcount leak by making it a helper device 2023-06-05 15:46:47 +01:00
coresight-cti.h coresight: Fix CTI module refcount leak by making it a helper device 2023-06-05 15:46:47 +01:00
coresight-dummy.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-etb10.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
coresight-etm3x-core.c coresight: Use per-sink trace ID maps for Perf sessions 2024-08-20 15:02:38 +01:00
coresight-etm3x-sysfs.c coresight: Add a helper for getting csdev->mode 2024-02-12 10:21:38 +00:00
coresight-etm4x-cfg.c coresight: Fix all W=1 build warnings 2023-07-26 18:01:52 +01:00
coresight-etm4x-cfg.h coresight: config: Add preloaded configurations 2021-08-18 22:33:28 +02:00
coresight-etm4x-core.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-etm4x-sysfs.c coresight: etm4x: Fix missing trctraceidr file in sysfs 2023-06-06 10:39:15 +01:00
coresight-etm4x.h coresight: etm4x: Safe access for TRCQCLTR 2024-04-22 11:23:51 +01:00
coresight-etm-cp14.c coresight: Moving framework and drivers to SPDX identifier 2018-05-14 16:19:59 +02:00
coresight-etm-perf.c coresight: Emit sink ID in the HW_ID packets 2024-08-20 15:02:38 +01:00
coresight-etm-perf.h coresight: Remove unused ETM Perf stubs 2024-08-20 15:02:37 +01:00
coresight-etm.h coresight: Move mode to struct coresight_device 2024-02-12 10:21:38 +00:00
coresight-funnel.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-platform.c hwtracing: use for_each_endpoint_of_node() 2024-07-01 10:12:35 +01:00
coresight-priv.h coresight: Emit sink ID in the HW_ID packets 2024-08-20 15:02:38 +01:00
coresight-replicator.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-self-hosted-trace.h coresight: trbe: Prohibit trace before disabling TRBE 2021-10-27 11:45:33 -06:00
coresight-stm.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-syscfg-configfs.c coresight: configfs: Allow configfs to activate configuration 2021-11-26 11:34:27 -07:00
coresight-syscfg-configfs.h coresight: configfs: Allow configfs to activate configuration 2021-11-26 11:34:27 -07:00
coresight-syscfg.c coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-syscfg.h coresight: syscfg: Update load and unload operations 2022-06-29 09:35:58 -06:00
coresight-sysfs.c coresight: Use per-sink trace ID maps for Perf sessions 2024-08-20 15:02:38 +01:00
coresight-tmc-core.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-tmc-etf.c coresight: Add helper for setting csdev->mode 2024-02-12 10:21:38 +00:00
coresight-tmc-etr.c coresight: Clarify comments around the PID of the sink owner 2024-08-20 15:02:37 +01:00
coresight-tmc.h coresight: Clarify comments around the PID of the sink owner 2024-08-20 15:02:37 +01:00
coresight-tpda.c ARM: 9379/1: coresight: tpda: drop owner assignment 2024-04-18 12:09:28 +01:00
coresight-tpda.h coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits 2024-02-27 11:26:45 +00:00
coresight-tpdm.c coresight: Use per-sink trace ID maps for Perf sessions 2024-08-20 15:02:38 +01:00
coresight-tpdm.h coresight: tpdm: Fix build break due to uninitialised field 2024-02-13 11:01:19 +00:00
coresight-tpiu.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-trace-id.c coresight: Make trace ID map spinlock local to the map 2024-08-20 15:02:38 +01:00
coresight-trace-id.h coresight: Remove pending trace ID release mechanism 2024-08-20 15:02:38 +01:00
coresight-trbe.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
coresight-trbe.h coresight: trbe: Enable ACPI based TRBE devices 2023-11-16 11:34:59 +00:00
Kconfig Coresight: Add coresight dummy driver 2023-06-15 08:50:23 +01:00
Makefile coresight: Make current W=1 warnings default 2024-02-12 10:18:41 +00:00
ultrasoc-smb.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ultrasoc-smb.h coresight: Move mode to struct coresight_device 2024-02-12 10:21:38 +00:00