Commit c5f231f
coresight: etm4x: Make etm4_remove_dev() return void
etm4_remove_dev() returned zero unconditionally. Make it return void
instead, which makes it clear in the callers that there is no error to
handle. Simplify etm4_remove_platform_dev() accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230518201629.260672-1-u.kleine-koenig@pengutronix.de1 parent 9f37d37 commit c5f231f
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2190 | 2190 | | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | | - | |
| 2193 | + | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | 2196 | | |
| |||
2217 | 2217 | | |
2218 | 2218 | | |
2219 | 2219 | | |
2220 | | - | |
2221 | | - | |
2222 | 2220 | | |
2223 | 2221 | | |
2224 | 2222 | | |
| |||
2231 | 2229 | | |
2232 | 2230 | | |
2233 | 2231 | | |
2234 | | - | |
2235 | 2232 | | |
2236 | 2233 | | |
2237 | 2234 | | |
2238 | | - | |
| 2235 | + | |
2239 | 2236 | | |
2240 | | - | |
| 2237 | + | |
2241 | 2238 | | |
2242 | 2239 | | |
2243 | 2240 | | |
| |||
0 commit comments