O'Sullivan earned his eighth title with a 10-7 victory over Ding Junhui.