@@ -94,10 +94,10 @@ static void uclogic_params_frame_hid_dbg(
9494 hid_dbg (hdev , "\t\t.suffix = %s\n" , frame -> suffix );
9595 hid_dbg (hdev , "\t\t.re_lsb = %u\n" , frame -> re_lsb );
9696 hid_dbg (hdev , "\t\t.dev_id_byte = %u\n" , frame -> dev_id_byte );
97- hid_dbg (hdev , "\t\t.touch_ring_byte = %u\n" , frame -> touch_ring_byte );
98- hid_dbg (hdev , "\t\t.touch_ring_max = %hhd\n" , frame -> touch_ring_max );
99- hid_dbg (hdev , "\t\t.touch_ring_flip_at = %hhd\n" ,
100- frame -> touch_ring_flip_at );
97+ hid_dbg (hdev , "\t\t.touch_byte = %u\n" , frame -> touch_byte );
98+ hid_dbg (hdev , "\t\t.touch_max = %hhd\n" , frame -> touch_max );
99+ hid_dbg (hdev , "\t\t.touch_flip_at = %hhd\n" ,
100+ frame -> touch_flip_at );
101101 hid_dbg (hdev , "\t\t.bitmap_dial_byte = %u\n" ,
102102 frame -> bitmap_dial_byte );
103103}
@@ -870,7 +870,7 @@ static int uclogic_params_huion_init(struct uclogic_params *params,
870870 & p .frame_list [1 ],
871871 uclogic_rdesc_v2_frame_touch_ring_arr ,
872872 uclogic_rdesc_v2_frame_touch_ring_size ,
873- UCLOGIC_RDESC_V2_FRAME_TOUCH_RING_ID );
873+ UCLOGIC_RDESC_V2_FRAME_TOUCH_ID );
874874 if (rc != 0 ) {
875875 hid_err (hdev ,
876876 "failed creating v2 frame touch ring "
@@ -880,10 +880,10 @@ static int uclogic_params_huion_init(struct uclogic_params *params,
880880 }
881881 p .frame_list [1 ].suffix = "Touch Ring" ;
882882 p .frame_list [1 ].dev_id_byte =
883- UCLOGIC_RDESC_V2_FRAME_TOUCH_RING_DEV_ID_BYTE ;
884- p .frame_list [1 ].touch_ring_byte = 5 ;
885- p .frame_list [1 ].touch_ring_max = 12 ;
886- p .frame_list [1 ].touch_ring_flip_at = 6 ;
883+ UCLOGIC_RDESC_V2_FRAME_TOUCH_DEV_ID_BYTE ;
884+ p .frame_list [1 ].touch_byte = 5 ;
885+ p .frame_list [1 ].touch_max = 12 ;
886+ p .frame_list [1 ].touch_flip_at = 6 ;
887887
888888 /* Create v2 frame dial parameters */
889889 rc = uclogic_params_frame_init_with_desc (
@@ -912,7 +912,7 @@ static int uclogic_params_huion_init(struct uclogic_params *params,
912912 UCLOGIC_RDESC_V2_FRAME_BUTTONS_ID ;
913913 p .pen .subreport_list [1 ].value = 0xf0 ;
914914 p .pen .subreport_list [1 ].id =
915- UCLOGIC_RDESC_V2_FRAME_TOUCH_RING_ID ;
915+ UCLOGIC_RDESC_V2_FRAME_TOUCH_ID ;
916916 p .pen .subreport_list [2 ].value = 0xf1 ;
917917 p .pen .subreport_list [2 ].id =
918918 UCLOGIC_RDESC_V2_FRAME_DIAL_ID ;
0 commit comments