Skip to content
Commit 8409e425 authored by Chris Friedt's avatar Chris Friedt Committed by Anas Nashif
Browse files

drivers: gpio: pca series: dereference pointer in assignment



Properly dereference the value pointer in assignment.

```
In function 'gpio_pca_series_port_read_standard':
warning: assignment to 'gpio_port_value_t *' {aka 'unsigned int *'} \
  from 'uint32_t' {aka 'unsigned int'} makes pointer from integer   \
  without a cast [-Wint-conversion]
 1071 |                 value = sys_le32_to_cpu(input_data);
      |                       ^
```

Signed-off-by: default avatarChris Friedt <cfriedt@tenstorrent.com>
parent 3124c7ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment