better separation
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user