better separation

This commit is contained in:
2025-06-13 12:26:54 +01:00
parent e8f5493e5d
commit 46acdf410e
5 changed files with 62 additions and 54 deletions

View File

@ -56,7 +56,7 @@ static void counter_worker(struct work_struct *work) {
u64 ts = data->timestamp;
u32 counter_value;
int ret = read32(data->client, CMD_RD | REG_OTR, &counter_value);
int ret = read_otr(data->client, &counter_value);
if (ret < 0) {
printk("counter - Error! read32 failed in counter_worker\n");