mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
Staging: iio: resolver: ad2s1210.c - style fix
Changed symbolic permissions to octal permissions. Found using checkpatch Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
7c8e818f6e
commit
6144f61af6
@ -531,36 +531,36 @@ error_ret:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static IIO_DEVICE_ATTR(fclkin, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(fclkin, 0644,
|
||||
ad2s1210_show_fclkin, ad2s1210_store_fclkin, 0);
|
||||
static IIO_DEVICE_ATTR(fexcit, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(fexcit, 0644,
|
||||
ad2s1210_show_fexcit, ad2s1210_store_fexcit, 0);
|
||||
static IIO_DEVICE_ATTR(control, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(control, 0644,
|
||||
ad2s1210_show_control, ad2s1210_store_control, 0);
|
||||
static IIO_DEVICE_ATTR(bits, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(bits, 0644,
|
||||
ad2s1210_show_resolution, ad2s1210_store_resolution, 0);
|
||||
static IIO_DEVICE_ATTR(fault, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(fault, 0644,
|
||||
ad2s1210_show_fault, ad2s1210_clear_fault, 0);
|
||||
|
||||
static IIO_DEVICE_ATTR(los_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(los_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_LOS_THRD);
|
||||
static IIO_DEVICE_ATTR(dos_ovr_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(dos_ovr_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_DOS_OVR_THRD);
|
||||
static IIO_DEVICE_ATTR(dos_mis_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(dos_mis_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_DOS_MIS_THRD);
|
||||
static IIO_DEVICE_ATTR(dos_rst_max_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(dos_rst_max_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_DOS_RST_MAX_THRD);
|
||||
static IIO_DEVICE_ATTR(dos_rst_min_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(dos_rst_min_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_DOS_RST_MIN_THRD);
|
||||
static IIO_DEVICE_ATTR(lot_high_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(lot_high_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_LOT_HIGH_THRD);
|
||||
static IIO_DEVICE_ATTR(lot_low_thrd, S_IRUGO | S_IWUSR,
|
||||
static IIO_DEVICE_ATTR(lot_low_thrd, 0644,
|
||||
ad2s1210_show_reg, ad2s1210_store_reg,
|
||||
AD2S1210_REG_LOT_LOW_THRD);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user