diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-07-29 22:46:30 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-07-29 22:46:30 +0900 |
commit | faa11b99c90f6faaaa7d6581b8ffd09abf3e9ce5 (patch) | |
tree | 41df99248bdd818ba9c455eaf3db6cc6cec22899 /drivers/firewire/core-cdev.c | |
parent | 568a8cbb3d4da609a799920c761b2cdb7e583839 (diff) |
firewire: ohci: minor code refactoring to localize text table
The string table for tcode is just used by log_ar_at_event(). In the case,
it is suitable to move the table inner the function definition.
This commit is for the purpose. Additionally, the hard-coded value for
tcode is replaced with defined macros as many as possible.
Link: https://lore.kernel.org/r/20240729134631.127189-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire/core-cdev.c')
0 files changed, 0 insertions, 0 deletions